3

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?

bhzag
  • 2,814
  • 7
  • 21
  • 38
  • duplicate? http://stackoverflow.com/questions/15292318/mkmapview-mkpointannotation-tap-event – gabeio Mar 14 '15 at 06:14

1 Answers1

6

Implement mapView(_ mapView: MKMapView!,didSelectAnnotationView view: MKAnnotationView!) in MKMapViewDelegate

songchenwen
  • 1,342
  • 9
  • 14