UIApplication.OpenUrlAsync(NSUrl, UIApplicationOpenUrlOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously opens the specified URL, launching the app that is registered to handle the scheme, and returns a task the represents success or failure.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public System.Threading.Tasks.Task<bool> OpenUrlAsync (Foundation.NSUrl url, UIKit.UIApplicationOpenUrlOptions options);
member this.OpenUrlAsync : Foundation.NSUrl * UIKit.UIApplicationOpenUrlOptions -> System.Threading.Tasks.Task<bool>
Parameters
- url
- NSUrl
The URL to be opened.
- options
- UIApplicationOpenUrlOptions
Launch options.
Returns
- Attributes