Global Variable

UIApplicationDidFinishLaunchingNotification

Posted immediately after the app finishes launching.

Declaration

const NSNotificationName UIApplicationDidFinishLaunchingNotification;

Discussion

If the app was launched as a result of in remote notification targeted at it or because another app opened a URL resource claimed the posting app (the notification object), this notification contains a userInfo dictionary. You can access the contents of the dictionary using the UIApplicationLaunchOptionsURLKey and UIApplicationLaunchOptionsSourceApplicationKey constants (for URLs), the UIApplicationLaunchOptionsRemoteNotificationKey constant (for remote notifications), and the UIApplicationLaunchOptionsLocalNotificationKey constant (for local notifications). If the notification was posted for a normal app launch, there is no userInfo dictionary.

See Also

Notifications

UIApplicationBackgroundRefreshStatusDidChangeNotification

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

UIApplicationDidBecomeActiveNotification

Posted when the app becomes active.

UIApplicationDidChangeStatusBarFrameNotification

Posted when the frame of the status bar changes.

UIApplicationDidChangeStatusBarOrientationNotification

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

UIApplicationDidEnterBackgroundNotification

Posted when the app enters the background.

UIApplicationDidReceiveMemoryWarningNotification

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

UIApplicationProtectedDataDidBecomeAvailable

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

UIApplicationProtectedDataWillBecomeUnavailable

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

UIApplicationSignificantTimeChangeNotification

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.

UIApplicationUserDidTakeScreenshotNotification

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

UIApplicationWillChangeStatusBarOrientationNotification

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

UIApplicationWillChangeStatusBarFrameNotification

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

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.

UIApplicationWillTerminateNotification

Posted when the app is about to terminate.

UIContentSizeCategoryDidChangeNotification

Posted when the user changes the preferred content size setting.