1

In the MKMapViewDelegate, the code in the method mapView:didSelectAnnotationView is executed AFTER the selection of the annotation view (and therefore after the callout bubble appears). BUT I need to execute some code BEFORE the callout bubble appears. So, I would need something like mapView:*Will*SelectAnnotationView ... that doesn't exist. How can I do ? Thank you !

1 Answers1

-1

You can use this method to do the required functionality:

- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control;
Akshay
  • 2,973
  • 6
  • 43
  • 75