开发者

callout bubble MKMapView move problem

开发者 https://www.devze.com 2023-03-01 04:52 出处:网络
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.

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

精彩评论

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

关注公众号