Attempts to open the resource at the specified URL asynchronously.
- iOS 13.0+Beta
- tvOS 13.0+Beta
A URL (Universal Resource Locator). The resource identified by this URL may be local to the current app or handled by a different app. UIKit supports many common schemes, including the
The options to use when opening the URL.
The block to execute with the results. Provide a value for this parameter if you want to be informed of the success or failure of opening the URL. This block is executed asynchronously on your app's main thread. The block has no return value and takes the following parameter:
A Boolean value indicating whether the system successfully opened the URL. If no app is capable of handling the specified URL, this parameter is
Use this method to open the specified resource. If the specified URL scheme is handled by another app, iOS launches that app and passes the URL to it. Launching the app brings the other app to the foreground.