Daily iOS
App lifecycle and system

App launch sequence

From the moment the app icon is tapped on the home screen until the first screen is drawn, what happens in order in the system and in the app, including the stages before main()?

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

SpringBoard creates the process, dyld loads the libraries, does rebase/bind, and initializes the ObjC runtime (+load), and then it runs main → UIApplicationMain → the delegate and scene callbacks → the first frame.

Share a question