Global Variable

UIApplicationWillEnterForegroundNotification

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

Declaration

const NSNotificationName UIApplicationWillEnterForegroundNotification;

Discussion

The object of the notification is the UIApplication object. There is no 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.

UIApplicationWillResignActiveNotification

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

UIApplicationWillTerminateNotification

Posted when the app is about to terminate.