Partager via


UIApplication.OpenUrlAsync(NSUrl, UIApplicationOpenUrlOptions) Méthode

Définition

Ouvre de manière asynchrone l’URL spécifiée, lance l’application inscrite pour gérer le schéma et retourne une tâche que représente la réussite ou l’échec.

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

Paramètres

url
NSUrl

URL à ouvrir.

options
UIApplicationOpenUrlOptions

Options de lancement.

Retours

Attributs

S’applique à