One Logo Pool Ball
_MapKit_SwiftUI · IOS API REFERENCE

MapItemDetailSelectionAccessoryStyle

struct · iOS 18.0+ · SDK 27.1

struct MapItemDetailSelectionAccessoryStyle

The map item detail selection accessory style

Members (5)

get · iOS 18.0+

sheet

TypeScript
static get sheet(): MapItemDetailSelectionAccessoryStyle
Swift declaration
static var sheet: MapItemDetailSelectionAccessoryStyle { get }

Show map item detail by presenting a sheet

get · iOS 18.0+

callout

TypeScript
static get callout(): MapItemDetailSelectionAccessoryStyle
Swift declaration
static var callout: MapItemDetailSelectionAccessoryStyle { get }

Show the accessory as an annotation callout on the map Uses `automatic` callout style

static · iOS 18.0+

callout

TypeScript
static callout73599(style?: MapItemDetailSelectionAccessoryStyle_CalloutStyle): MapItemDetailSelectionAccessoryStyle
Swift declaration
static func callout(_ style: MapItemDetailSelectionAccessoryStyle.CalloutStyle = .automatic) -> MapItemDetailSelectionAccessoryStyle

Show the accessory as an annotation callout on the map - Parameters: - style: the `CalloutStyle` to use

get · iOS 18.0+

caption

TypeScript
static get caption(): MapItemDetailSelectionAccessoryStyle
Swift declaration
static var caption: MapItemDetailSelectionAccessoryStyle { get }

An "Open in Apple Maps" link below the content's label

get · iOS 18.0+

automatic

TypeScript
static get automatic(): MapItemDetailSelectionAccessoryStyle
Swift declaration
static var automatic: MapItemDetailSelectionAccessoryStyle { get }

An appropriate style will be chosen automatically

Skipped declarations

No declarations were skipped in this snapshot.

All _MapKit_SwiftUI types →