Contents

mapView(_:didSelect:)

Tells the delegate when the user selects one or more annotations.

Declaration

optional func mapView(_ mapView: MKMapView, didSelect annotation: any MKAnnotation)

Parameters

  • mapView:

    The map view containing the annotation view.

  • annotation:

    The selected annotation view.

See Also

Selecting annotations and annotations views