UIApplication.OpenUrlAsync(NSUrl, UIApplicationOpenUrlOptions) Method

Definition

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

Applies to