Step into Swift logo

What is the lifecycle of an iOS Application?

Application Lifecycle

Application Lifecycle

Launch time:

  • Application willFinishLaunchingWithOptions
  • Application didFinishLaunchingWithOptions

Transitioning to the foreground:

  • applicationDidBecomeActive

Transitioning to the background:

  • applicationDidEnterBackground

Transitioning to the inactive state:

  • applicationWillResignActive: Called when leaving the foreground
  • applicationWillEnterForeground: Called when transitioning out of the background


  • applicationWillTerminate: Called only when the app is running. Not called if app is suspended

Related articles:

< All Posts