2
votes

Im currently developping an App which uses a MKMapView. Wenn the map is moved I perform server request to get new Annotations based on the coordinates.

Wenn an annotation is clicked it sometines moves the map. In this case i don't want to perform a Request.

Has somebody a solution how to know if it was an callout buble which moved the map ?

I tried with - (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view{ without success !

1
Are you doing the server request from regionWillChangeAnimated or regionDidChangeAnimated? What did you try in didSelectAnnotationView?user467105

1 Answers

0
votes

Look at this answer where I explain several methods to track that the MKMapView has moved.

That answers a different problem, but I think that might help you.