Options that UIKit provides when asking your app to open a URL.
- iOS 13.0+Beta
- tvOS 13.0+Beta
Do not create a
UIScene.OpenURLOptions object directly. UIKit creates one for you when your app receives a request to open a URL. Use the information in the object to determine how to respond to the URL.
Specifying the URL Details
var annotation: Any?
A property-list object containing the annotation data provided by a document interaction controller.
Specifying the Behavior Options
var openInPlace: Bool
A Boolean value indicating whether you should open the URL at its current location instead of copying it to your app's container.
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