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

annotationVisibleRect

The visible rectangle where annotation views are currently being displayed.

- selectAnnotation:animated:

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

- deselectAnnotation:animated:

Deselects the specified annotation and hides its callout view.