MKMapItem
MKMapItem()
MKMapItem(MKPlacemark)
MKMapItem(NativeHandle)
MKMapItem(NSCoder)
MKMapItem(NSObjectFlag)
AlternateIdentifiers
ClassHandle
Identifier
IsCurrentLocation
Name
PhoneNumber
Placemark
PointOfInterestCategory
ReadableTypeIdentifiers
TimeZone
TypeIdentifier
Url
WritableTypeIdentifiers
WritableTypeIdentifiersForItemProvider
EncodeTo(NSCoder)
GetItemProviderVisibilityForTypeIdentifier(String)
GetObject(NSData, String, NSError)
LoadData(String, Action<NSData, NSError>)
LoadDataAsync(String)
LoadDataAsync(String, NSProgress)
MapItemForCurrentLocation()
OpenInMaps(MKLaunchOptions)
OpenInMaps(NSDictionary, Action<Boolean>)
OpenInMaps(NSDictionary, UIScene, Action<NSError>)
OpenInMapsAsync(NSDictionary)
OpenInMapsAsync(NSDictionary, UIScene)
OpenMaps(MKMapItem[], MKLaunchOptions)
OpenMaps(MKMapItem[], NSDictionary, Action<Boolean>)
OpenMaps(MKMapItem[], NSDictionary, UIScene, Action<NSError>)
OpenMapsAsync(MKMapItem[], NSDictionary)
OpenMapsAsync(MKMapItem[], NSDictionary, UIScene)
net10.0-macos14.2
namespace MapKit
{
[Register("MKMapItem", true)]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public class MKMapItem : NSObject, INSCoding, INSSecureCoding, INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("openMapsWithItems:launchOptions:completionHandler:")]
[SupportedOSPlatform("macos14.4")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("maccatalyst")]
public static void OpenMaps(MKMapItem![]! mapItems, NSDictionary? launchOptions, [BlockProxy(typeof(NIDActionArity1V2))] Action<bool>? completion);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net10.0-macos14.2 | |
| Assembly | Microsoft.macOS , Version=15.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API