Contents

mapView(_:didDeselect:)

Tells the delegate when the user deselects one or more of its annotation views.

Declaration

optional func mapView(_ mapView: MKMapView, didDeselect view: MKAnnotationView)

Parameters

  • mapView:

    The map view containing the annotation view.

  • view:

    The deselected annotation view.

Discussion

You can use this method to track changes in the selection state of annotation views.

See Also

Selecting annotations and annotations views