DevPrep

All topics › AI fundamentals for developers

How do you build AI into an iOS app: Foundation Models, Core AI and cloud APIs

Middle PRO

Essence

There are three ways to build AI into the iOS app itself:

The choice depends on the task, privacy requirements, supported devices and budget. They're often combined: simple things on device, hard ones in the cloud.

The rest of this answer, with code and interview follow-ups, is in the DevPrep app.

Read the full answer in DevPrep

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store