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

A key that contains the bundle ID of the app that sent the open-URL request to your app.

static let annotation: UIApplication.OpenURLOptionsKey

A key that contains the information passed to a document interaction controller object’s annotation property.

static let openInPlace: UIApplication.OpenURLOptionsKey

A key that 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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software