Application Lifecycle

User touches icon on home screen
System calls main()
main() calls UIApplicationMain()
UIApplicationMain() creates instance of UIApplication
UIApplication instance loads main Nib file, sets up based on application properties
UIApplication instance goes into run loop, waiting for and forwarding events to interface elements (instances of UIResponder)
User taps home button or does another termination activity
UIApplication instance tells your delegate that the application is terminating
UIApplicationMain() exits, main() exits, process exits

Leave a Reply

Your email address will not be published. Required fields are marked *