Keys used to access values in the options dictionary when opening a URL.


struct OpenURLOptionsKey


Use these keys to retrieve options in the application(_:open:options:) method of your app delegate.


Type Properties

static let sourceApplication: UIApplication.OpenURLOptionsKey

Contains the bundle ID of the app that sent the open-URL request to your app. Value is an NSString object.

static let annotation: UIApplication.OpenURLOptionsKey

Contains the information passed to a UIDocumentInteractionController object’s annotation property. Value is a property list-typed object.

static let openInPlace: UIApplication.OpenURLOptionsKey

Contains a flag indicating whether a document must be copied before you use it.


See Also

Opening a URL-Specified Resource

func application(UIApplication, open: URL, options: [UIApplication.OpenURLOptionsKey : Any]) -> Bool

Asks the delegate to open a resource specified by a URL, and provides a dictionary of launch options.