UIApplicationDelegate_Extensions.HandleOpenURL 方法

定义

开发人员应使用 M:UIKit.UIApplicationDelegate.OpenUrl* ,而不是此已弃用的方法。

[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

参数

This
IUIApplicationDelegate

此扩展方法操作的实例。

application
UIApplication

对调用此委托方法的 UIApplication 的引用。

url
NSUrl

返回

属性

适用于