Launch Options Keys

Keys used to access values in the launch options dictionary passed to the application(_:willFinishLaunchingWithOptions:) and application(_:didFinishLaunchingWithOptions:) methods of the app delegate.

Topics

Constants

static let url: UIApplicationLaunchOptionsKey

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

static let sourceApplication: UIApplicationLaunchOptionsKey

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

static let remoteNotification: UIApplicationLaunchOptionsKey

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

static let localNotification: UIApplicationLaunchOptionsKey

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

Deprecated
static let annotation: UIApplicationLaunchOptionsKey

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

static let location: UIApplicationLaunchOptionsKey

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

static let newsstandDownloads: UIApplicationLaunchOptionsKey

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

static let bluetoothCentrals: UIApplicationLaunchOptionsKey

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

static let bluetoothPeripherals: UIApplicationLaunchOptionsKey

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

static let shortcutItem: UIApplicationLaunchOptionsKey

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

static let userActivityDictionary: UIApplicationLaunchOptionsKey

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

static let userActivityType: UIApplicationLaunchOptionsKey

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