App LifeCycle For IOS App's (UIApplicationDelegate)
Understand the states and transitions of an iOS States Non-running - The app is not running. Inactive - The app is running in the foreground, but not receiving events. An iOS app can be placed into an inactive state, for example, when a call or SMS message is received. Active - The app is running in the foreground, and receiving events. Background - The app is running in the background, and executing code. Suspended - The app is in the background, but no code is being executed. The seven most important application delegate methods The operating system calls specific methods within the application delegate to facilitate transitioning to and from various states. The seven most important application delegate methods a developer should handle are: application:willFinishLaunchingWithOptions Method called when the launch process is initiated. This is the first opportunity to execute any code within the app. application:didFinishLau...