UIApplicationDelegate_Extensions.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(IUIApplicationDelegate, UIApplication, NSUrl, NSDictionary) |
Indicates that the application should open the specified |
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
The instance on which this extension method operates.
- app
- UIApplication
- 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
The instance on which this extension method operates.
- application
- UIApplication
Reference to this application (SharedApplication).
- sourceApplication
- String
The bundle ID of the calling application.
- annotation
- NSObject
Optional property-list data passed by the calling application.
Returns
- Attributes