How to animate the movement of annotations on the MKMapView? When position of annotation is changed, then annotation moving to other position with animation?
This question has the answer.
Simply wrapping coordinate change in UIView animateWithDuration seems to work fine:
[UIView animateWithDuration:0.3f
animations:^{
myAnnotation.coordinate = newCoordinate;
}]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With