How to detect MKAnnotationView / MKMarkerAnnotationView first and second click?

313 Views Asked by At

When you click on a marker on the mapview, the marker grows. That's the first click. On second click it returns to the original size.

enter image description here

I was able to detect the first click with MKMapViewDelegate function:

func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) {}

Is there a way to detect the second click? Check something in the function above or with a different function?

Thank you for your answers!

0

There are 0 best solutions below