Search code examples
iphoneobjective-ciosmkannotationmkannotationview

Dragging MKAnnotationView immediately


When you set the draggable property of an MKAnnotationView, the default behavior seems to be:

1) user taps the annotation

2) user drags the annotation

Is is possible to combine this into one, so the user can drag the annotation without tapping it first?


Solution

  • try this source code http://www.github.com/digdog/MapKitDragAndDrop I have tried this code in simulator and it is working fine