Daily iOS
App lifecycle and system

App states and transitions

A user is working in your app, takes a phone call, hangs up, goes out to the home screen, and comes back 30 minutes later. Which states does the app pass through along the way?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Active → Inactive (the call) → Active → Inactive → Background → Suspended. An incoming call means Inactive, and only going out to the home screen takes the app through Background and on to Suspended.

Share a question