How to move a MKAnnotation without adding/removing it from the map?

前端 未结 11 1091
情深已故
情深已故 2020-12-13 06:22

Is it possible to move the coordinate of a MKAnnotation without adding and removing the annotation from the map?

11条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 07:06

    Take a look at my MapKitDragAndDrop sample, it allows you to update MKAnnotation and move MKAnnotationView on both iPhone OS 3 and iOS 4 (will use built-in dragging support).

提交回复
热议问题