I want to set up a MKPointAnnotation so that when it is tapped I can call another function. Is there anyway to add a gesture recognizer or something like that?
Asked
Active
Viewed 1,676 times
3
bhzag
- 2,932
- 7
- 23
- 39
-
duplicate? http://stackoverflow.com/questions/15292318/mkmapview-mkpointannotation-tap-event – gabeio Mar 14 '15 at 06:14
1 Answers
6
Implement mapView(_ mapView: MKMapView!,didSelectAnnotationView view: MKAnnotationView!) in MKMapViewDelegate
songchenwen
- 1,362
- 9
- 14