Options for opening a URL.


struct OpenExternalURLOptionsKey


URL Options

static let universalLinksOnly: UIApplication.OpenExternalURLOptionsKey

URLs must be universal links and have an app configured to open them.


See Also

Opening a URL Resource

func canOpenURL(URL) -> Bool

Returns a Boolean value indicating whether an app is available to handle a URL scheme.

class let openSettingsURLString: String

Used to create a URL that you can pass to the openURL(_:) method. When you open the URL built from this string, the system launches the Settings app and displays the app’s custom settings, if it has any.

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