共用方式為


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

傳回

屬性

適用於