Contents

deselectAnnotation(_:animated:)

Deselects the specified annotation and hides its callout view.

Declaration

func deselectAnnotation(_ annotation: (any MKAnnotation)?, animated: Bool)

Parameters

  • annotation:

    The annotation object to deselect.

  • animated:

    If True, the map view animates the callout view offscreen.

See Also

Managing annotation selections