MKMapView refresh after pin moves

前端 未结 7 1254
猫巷女王i
猫巷女王i 2020-12-14 23:42

A custom AnnotationView is updated with new coordinates. But the problem is that it visually updates only after some manipulations with MKMapView, e.g. zooming or moving. Wh

7条回答
  •  佛祖请我去吃肉
    2020-12-15 00:16

    There's no reason you can't remove and then re-add the annotation. That's probably way more performant than moving the entire map, even if its a fake move.

提交回复
热议问题