I try to call a method when the annotation view
(and only the annotation view) is clicked.
- (void)mapView:(MKMapView *)m didSelectAnnotationView:(MKAnnotationView *)view {
[self openDetailView];
}
But what i noticed, is that this method (openDetailView
) is called only when i select the PIN
, means before the annotation view
gets displayed. How can i fire that method on callout click? Thanx in advance.