MKMapItem.OpenInMaps 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
| Name | Description |
|---|---|
| OpenInMaps(MKLaunchOptions) | |
| OpenInMaps(NSDictionary, Action<Boolean>) | |
| OpenInMaps(NSDictionary, UIScene, Action<NSError>) |
OpenInMaps(MKLaunchOptions)
public void OpenInMaps(MapKit.MKLaunchOptions? launchOptions = default);
member this.OpenInMaps : MapKit.MKLaunchOptions -> unit
Parameters
- launchOptions
- MKLaunchOptions
Applies to
OpenInMaps(NSDictionary, Action<Boolean>)
[Foundation.Export("openInMapsWithLaunchOptions:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void OpenInMaps(Foundation.NSDictionary? launchOptions, Action<bool>? completion);
[<Foundation.Export("openInMapsWithLaunchOptions:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member OpenInMaps : Foundation.NSDictionary * Action<bool> -> unit
override this.OpenInMaps : Foundation.NSDictionary * Action<bool> -> unit
Parameters
- launchOptions
- NSDictionary
- Attributes
Applies to
OpenInMaps(NSDictionary, UIScene, Action<NSError>)
[Foundation.Export("openInMapsWithLaunchOptions:fromScene:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void OpenInMaps(Foundation.NSDictionary? launchOptions, UIKit.UIScene? fromScene, Action<Foundation.NSError>? completionHandler);
[<Foundation.Export("openInMapsWithLaunchOptions:fromScene:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member OpenInMaps : Foundation.NSDictionary * UIKit.UIScene * Action<Foundation.NSError> -> unit
override this.OpenInMaps : Foundation.NSDictionary * UIKit.UIScene * Action<Foundation.NSError> -> unit
Parameters
- launchOptions
- NSDictionary
- fromScene
- UIScene
- Attributes