CPApplicationDelegate.HandleOpenURL(UIApplication, NSUrl) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
應用程式開發人員不應該使用此已被取代的方法,而是改用 M:UIKit.UIApplicationDelegate.OpenUrl* 。
[Foundation.Export("application:handleOpenURL:")]
[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 virtual bool HandleOpenURL (UIKit.UIApplication application, Foundation.NSUrl url);
abstract member HandleOpenURL : UIKit.UIApplication * Foundation.NSUrl -> bool
override this.HandleOpenURL : UIKit.UIApplication * Foundation.NSUrl -> bool
參數
- application
- UIApplication
叫用這個委派方法的 UIApplication 參考。
- url
- NSUrl
傳回
- 屬性