Type Alias

UIApplicationLaunchOptionsKey

Keys used to access values in the launch options dictionary passed to your app at initialization time.

Declaration

typedef NSString *UIApplicationLaunchOptionsKey;

Discussion

These keys are passed to the options dictionary passed to the application:willFinishLaunchingWithOptions: and application:didFinishLaunchingWithOptions: methods of the app delegate

Topics

Type Properties

UIApplicationLaunchOptionsAnnotationKey

A key indicating that the URL passed to your app contained custom annotation data from the source app.

UIApplicationLaunchOptionsBluetoothCentralsKey

A key indicating that the app was relaunched to handle Bluetooth-related events.

UIApplicationLaunchOptionsBluetoothPeripheralsKey

A key indicating that the app should continue actions associated with its Bluetooth peripheral objects.

UIApplicationLaunchOptionsCloudKitShareMetadataKey

A key indicating that the app received a CloudKit share invitation.

UIApplicationLaunchOptionsLocalNotificationKey

A key indicating that the app was launched to handle a local notification.

Deprecated
UIApplicationLaunchOptionsLocationKey

A key indicating that the app was launched to handle an incoming location event.

UIApplicationLaunchOptionsNewsstandDownloadsKey

A key indicating that the app was launched to process newly downloaded Newsstand assets.

UIApplicationLaunchOptionsRemoteNotificationKey

A key indicating that a remote notification is available for the app to process.

UIApplicationLaunchOptionsShortcutItemKey

A key indicating that the app was launched in response to the user selecting a Home screen quick action.

UIApplicationLaunchOptionsSourceApplicationKey

A key indicating that another app requested the launch of your app.

UIApplicationLaunchOptionsURLKey

A key indicating that the app was launched so that it could open the specified URL.

UIApplicationLaunchOptionsUserActivityDictionaryKey

A key indicating that the data associated with an activity that the user wants to continue.

UIApplicationLaunchOptionsUserActivityTypeKey

A key indicating the type of user activity that the user wants to continue.

See Also

Initializing the App

- application:willFinishLaunchingWithOptions:

Tells the delegate that the launch process has begun but that state restoration has not yet occurred.

- application:didFinishLaunchingWithOptions:

Tells the delegate that the launch process is almost done and the app is almost ready to run.

- applicationDidFinishLaunching:

Tells the delegate when the app has finished launching. Don’t use. Instead, use application:didFinishLaunchingWithOptions:.

UIApplicationDidFinishLaunchingNotification

Posted immediately after the app finishes launching.