Class

UIOpenURLContext

A system-provided object that contains the information you need to open a single URL.

Declaration

class UIOpenURLContext : NSObject

Overview

UIKit provides a UIOpenURLContext object when your app receives a URL to open. The object contains the URL itself and any options needed to handle the URL correctly. Do not create UIOpenURLContext objects yourself.

Topics

Getting the URL

var url: URL

The URL to open.

var options: UIScene.OpenURLOptions

Additional information for determining how to open the URL.

class UIScene.OpenURLOptions

Options that UIKit provides when asking your app to open a URL.

Relationships

Inherits From

Conforms To

See Also

URL Management

class UIScene.OpenExternalURLOptions

Options you specify when asking a scene to open a URL.

Beta

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