<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKSelectionAccessory/MapItemDetailPresentationStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMapItemDetailSelectionAccessoryPresentationStyle"
  },
  "title" : "MKSelectionAccessory.MapItemDetailPresentationStyle"
}
-->

# MKSelectionAccessory.MapItemDetailPresentationStyle

The type of map item detail accessory presentation to use.

```
class MapItemDetailPresentationStyle
```

## Topics

### Creating a presentation style

[`automatic(presentationViewController:)`](/documentation/MapKit/MKSelectionAccessory/MapItemDetailPresentationStyle/automatic(presentationViewController:)-648ee)

An appropriate presentation style will be chosen automatically.

[`automatic(presentationViewController:)`](/documentation/MapKit/MKSelectionAccessory/MapItemDetailPresentationStyle/automatic(presentationViewController:)-9t9vt)

An appropriate presentation style will be chosen automatically.

[`+  automaticWithPresentationViewController:`](/documentation/MapKit/MKMapItemDetailSelectionAccessoryPresentationStyle/automaticWithPresentationViewController:)

An appropriate presentation style will be chosen automatically.

[`callout`](/documentation/MapKit/MKSelectionAccessory/MapItemDetailPresentationStyle/callout)

Show map item detail as an annotation callout on the map.

[`callout(_:)`](/documentation/MapKit/MKSelectionAccessory/MapItemDetailPresentationStyle/callout(_:))

Show map item detail as an annotation callout on the map

[`+  calloutWithCalloutStyle:`](/documentation/MapKit/MKMapItemDetailSelectionAccessoryPresentationStyle/calloutWithCalloutStyle:)

Show map item detail as an annotation callout on the map

[`openInMaps`](/documentation/MapKit/MKSelectionAccessory/MapItemDetailPresentationStyle/openInMaps)

Display a small “Open in Apple Maps” link.

[`+  sheetPresentedFromViewController:`](/documentation/MapKit/MKSelectionAccessory/MapItemDetailPresentationStyle/sheet(presentedFrom:))

Show map item detail by presenting a sheet.

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)