Type Property

UIApplicationWillEnterForeground

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

Declaration

static let UIApplicationWillEnterForeground: NSNotification.Name

Discussion

The object of the notification is the UIApplication object. There is no userInfo dictionary.

See Also

Notifications

static let UIApplicationBackgroundRefreshStatusDidChange: NSNotification.Name

Posted when the app’s status for downloading content in the background changes.

static let UIApplicationDidChangeStatusBarFrame: NSNotification.Name

Posted when the frame of the status bar changes.

static let UIApplicationDidChangeStatusBarOrientation: NSNotification.Name

Posted when the orientation of the app’s user interface changes.

static let UIApplicationDidEnterBackground: NSNotification.Name

Posted when the app enters the background.

static let UIApplicationDidFinishLaunching: NSNotification.Name

Posted immediately after the app finishes launching.

static let UIApplicationDidReceiveMemoryWarning: NSNotification.Name

Posted when the app receives a warning from the operating system about low memory availability.

static let UIApplicationProtectedDataDidBecomeAvailable: NSNotification.Name

Posted when the protected files become available for your code to access.

static let UIApplicationProtectedDataWillBecomeUnavailable: NSNotification.Name

Posted shortly before protected files are locked down and become inaccessible.

static let UIApplicationSignificantTimeChange: NSNotification.Name

Posted when there is a significant change in time, for example, change to a new day (midnight), carrier time update, and change to or from daylight savings time.

static let UIApplicationUserDidTakeScreenshot: NSNotification.Name

Posted when the user presses the Home and Lock buttons to take a screenshot.

static let UIApplicationWillChangeStatusBarOrientation: NSNotification.Name

Posted when the app is about to change the orientation of its interface.

static let UIApplicationWillChangeStatusBarFrame: NSNotification.Name

Posted when the app is about to change the frame of the status bar.

static let UIApplicationWillResignActive: NSNotification.Name

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

static let UIApplicationWillTerminate: NSNotification.Name

Posted when the app is about to terminate.

static let UIContentSizeCategoryDidChange: NSNotification.Name

Posted when the user changes the preferred content size setting.