Compartilhar via


UIApplicationDelegate_Extensions.HandleOpenURL Método

Definição

Os desenvolvedores devem usar M:UIKit.UIApplicationDelegate.OpenUrl* em vez desse método preterido.

[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, "Override 'OpenUrl (UIApplication, NSUrl, NSDictionary)'. The later will be called if both are implemented.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool HandleOpenURL (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Foundation.NSUrl url);
static member HandleOpenURL : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Foundation.NSUrl -> bool

Parâmetros

This
IUIApplicationDelegate

A instância na qual esse método de extensão opera.

application
UIApplication

Referência à UIApplication que invocou esse método delegado.

url
NSUrl

Retornos

Atributos

Aplica-se a