Global Variable

UIApplicationWillTerminateNotification

Posted when the app is about to terminate.

Declaration

const NSNotificationName UIApplicationWillTerminateNotification;

Discussion

This notification is associated with the delegate applicationWillTerminate: method. This notification does not contain a userInfo dictionary.

See Also

Responding to App Life-Cycle Events

- applicationDidBecomeActive:

Tells the delegate that the app has become active.

- applicationWillResignActive:

Tells the delegate that the app is about to become inactive.

- applicationDidEnterBackground:

Tells the delegate that the app is now in the background.

- applicationWillEnterForeground:

Tells the delegate that the app is about to enter the foreground.

- applicationWillTerminate:

Tells the delegate when the app is about to terminate.

UIApplicationDidBecomeActiveNotification

Posted when the app becomes active.

UIApplicationDidEnterBackgroundNotification

Posted when the app enters the background.

UIApplicationWillEnterForegroundNotification

Posted shortly before an app leaves the background state on its way to becoming the active app.

UIApplicationWillResignActiveNotification

Posted when the app is no longer active and loses focus.