UIApplicationDelegate_Extensions.HandleOpenURL 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開發人員應該使用 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
參數
這個擴充方法運作所在的實例。
- application
- UIApplication
叫用這個委派方法的 UIApplication 參考。
- url
- NSUrl
傳回
- 屬性