Instance Property

selectedAnnotations

The annotations that are currently selected.

Declaration

var selectedAnnotations: [MKAnnotation] { get set }

Discussion

Assigning a new array to this property selects only the first annotation in the array.

See Also

Managing Annotation Selections

func selectAnnotation(MKAnnotation, animated: Bool)

Selects the specified annotation and displays a callout view for it.

func deselectAnnotation(MKAnnotation?, animated: Bool)

Deselects the specified annotation and hides its callout view.