CPApplicationDelegate.OpenUrl Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenUrl(UIApplication, NSUrl, NSDictionary) |
Indicates that the application should open the specified |
OpenUrl(UIApplication, NSUrl, UIApplicationOpenUrlOptions) |
Indicates that the application should open the specified |
OpenUrl(UIApplication, NSUrl, String, NSObject) |
Indicates that the application should open the specified |
OpenUrl(UIApplication, NSUrl, NSDictionary)
Indicates that the application should open the specified url
with context from options
.
[Foundation.Export("application:openURL:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool OpenUrl (UIKit.UIApplication app, Foundation.NSUrl url, Foundation.NSDictionary options);
abstract member OpenUrl : UIKit.UIApplication * Foundation.NSUrl * Foundation.NSDictionary -> bool
override this.OpenUrl : UIKit.UIApplication * Foundation.NSUrl * Foundation.NSDictionary -> bool
Parameters
- app
- UIApplication
- url
- NSUrl
- options
- NSDictionary
Returns
- Attributes
Applies to
OpenUrl(UIApplication, NSUrl, UIApplicationOpenUrlOptions)
Indicates that the application should open the specified url
with context from options
.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public bool OpenUrl (UIKit.UIApplication app, Foundation.NSUrl url, UIKit.UIApplicationOpenUrlOptions options);
member this.OpenUrl : UIKit.UIApplication * Foundation.NSUrl * UIKit.UIApplicationOpenUrlOptions -> bool
Parameters
- app
- UIApplication
- url
- NSUrl
- options
- UIApplicationOpenUrlOptions
Returns
- Attributes
Applies to
OpenUrl(UIApplication, NSUrl, String, NSObject)
Indicates that the application should open the specified url
according to options
.
[Foundation.Export("application:openURL:sourceApplication:annotation:")]
[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 OpenUrl (UIKit.UIApplication application, Foundation.NSUrl url, string sourceApplication, Foundation.NSObject annotation);
abstract member OpenUrl : UIKit.UIApplication * Foundation.NSUrl * string * Foundation.NSObject -> bool
override this.OpenUrl : UIKit.UIApplication * Foundation.NSUrl * string * Foundation.NSObject -> bool
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- url
- NSUrl
- sourceApplication
- String
- annotation
- NSObject
Returns
- Attributes