UIApplicationDelegate_Extensions.OpenUrl Method

Definition

Overloads

OpenUrl(IUIApplicationDelegate, UIApplication, NSUrl, NSDictionary)

Indicates that the application should open the specified url with context from options.

OpenUrl(IUIApplicationDelegate, UIApplication, NSUrl, String, NSObject)

Loads a resource from the specified URL.

OpenUrl(IUIApplicationDelegate, UIApplication, NSUrl, NSDictionary)

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 static bool OpenUrl (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication app, Foundation.NSUrl url, Foundation.NSDictionary options);
static member OpenUrl : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Foundation.NSUrl * Foundation.NSDictionary -> bool

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

url
NSUrl
options
NSDictionary

Returns

Attributes

Applies to

OpenUrl(IUIApplicationDelegate, UIApplication, NSUrl, String, NSObject)

Loads a resource from the specified URL.

[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 OpenUrl (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Foundation.NSUrl url, string sourceApplication, Foundation.NSObject annotation);
static member OpenUrl : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Foundation.NSUrl * string * Foundation.NSObject -> bool

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

application
UIApplication

Reference to this application (SharedApplication).

url
NSUrl

The NSUrl specified by the calling application.

sourceApplication
String

The bundle ID of the calling application.

annotation
NSObject

Optional property-list data passed by the calling application.

Returns

Attributes

Applies to