共用方式為


CPApplicationDelegate.HandleOpenURL(UIApplication, NSUrl) 方法

定義

應用程式開發人員不應該使用此已被取代的方法,而是改用 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

傳回

屬性

適用於