Apple interview question

How I would implement a ML feature on apple devices