Contents

leftCalloutAccessoryView

The view to display on the left side of the standard callout.

Declaration

var leftCalloutAccessoryView: UIView? { get set }
var leftCalloutAccessoryView: NSView? { get set }

Discussion

The default value of this property is nil. Typically, you use the left callout view to display information about the annotation or to link to custom information that your app provides.

In an iOS app, if the view you specify is also a descendant of the UIControl class, you can use the map view’s delegate to receive notifications when the user taps your control. If it doesn’t descend from UIControl, your view is responsible for handling any touch events within its bounds.

In a macOS app, the callout view’s view controller can implement an action method that responds when the user clicks the control in a callout view.

See Also

Managing callout views