Freigeben über


UIApplication.OpenUrlAsync(NSUrl, UIApplicationOpenUrlOptions) Methode

Definition

Öffnet die angegebene URL asynchron, startet die App, die für die Behandlung des Schemas registriert ist, und gibt eine Aufgabe zurück, die Erfolg oder Fehler darstellt.

[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>

Parameter

url
NSUrl

Die url, die geöffnet werden soll.

options
UIApplicationOpenUrlOptions

Startoptionen.

Gibt zurück

Attribute

Gilt für: