Chapter 6UIApplication and UIApplicationDelegate
Key Skills & Concepts
• Understanding the UIApplication class
• Understanding the UIApplicationDelegate protocol
• Handling application startup and termination
• Handling application interruptions
Every iOS application has one UIApplication. UIApplication is an iOS application’s starting point and is responsible for initializing and displaying your application’s UIWindow. It is also responsible for loading your application’s first UIView into the UIWindow. Another responsibility UIApplication has is managing your application’s life cycle. UIApplication fulfills this management responsibility using a delegate called UIApplicationDelegate. Although UIApplication receives events, it’s the UIApplicationDelegate ...