Instance Property

selectedAnnotations

The annotations that are currently selected.

Declaration

@property(nonatomic, copy) NSArray<id<MKAnnotation>> *selectedAnnotations;

Discussion

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

See Also

Managing Annotation Selections

selectAnnotation:animated:

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

deselectAnnotation:animated:

Deselects the specified annotation and hides its callout view.