Instance Method

deselectAnnotation:animated:

Deselects the specified annotation and hides its callout view.

Declaration

- (void)deselectAnnotation:(id<MKAnnotation>)annotation animated:(BOOL)animated;

Parameters

annotation

The annotation object to deselect.

animated

If YES, the callout view is animated offscreen.

See Also

Managing Annotation Selections

annotationVisibleRect

The visible rectangle where annotation views are currently being displayed.

selectedAnnotations

The annotations that are currently selected.

- selectAnnotation:animated:

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