Type Property

didFinishLaunchingNotification

Posted immediately after the app finishes launching.

Declaration

class let didFinishLaunchingNotification: NSNotification.Name

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 url and sourceApplication constants (for URLs), the remoteNotification constant (for remote notifications), and the localNotification constant (for local notifications). If the notification was posted for a normal app launch, there is no userInfo dictionary.

See Also

Notifications

class let backgroundRefreshStatusDidChangeNotification: NSNotification.Name

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

class let didChangeStatusBarFrameNotification: NSNotification.Name

Posted when the frame of the status bar changes.

class let didChangeStatusBarOrientationNotification: NSNotification.Name

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

class let didEnterBackgroundNotification: NSNotification.Name

Posted when the app enters the background.

class let didReceiveMemoryWarningNotification: NSNotification.Name

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

class let protectedDataDidBecomeAvailableNotification: NSNotification.Name

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

class let protectedDataWillBecomeUnavailableNotification: NSNotification.Name

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

class let significantTimeChangeNotification: 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.

class let userDidTakeScreenshotNotification: NSNotification.Name

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

class let willChangeStatusBarOrientationNotification: NSNotification.Name

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

class let willChangeStatusBarFrameNotification: NSNotification.Name

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

class let willEnterForegroundNotification: NSNotification.Name

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

class let willResignActiveNotification: NSNotification.Name

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

class let willTerminateNotification: NSNotification.Name

Posted when the app is about to terminate.

static let didChangeNotification: NSNotification.Name

Posted when the user changes the preferred content size setting.