Apple Interview Question

How I would implement a ML feature on apple devices