开发者

callout bubble MKMapView move problem

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 mov开发者_运维知识库ed the map ?

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜