1

I have an annotation with custom image and drag'n'drop support. But I need to animate the annotation the same way default Google pin is animated. That means the annotation should "jump up" when I drag it and "fall down" when I release it.

I was quite surprised that this animation isn't working anymore when I change annotation's image.

Thanks.

JakubM
  • 2,685
  • 2
  • 23
  • 33

1 Answers1

2

I have found the answer here: Subclassing MKAnnotationView and overriding setDragState. I used bad keywords when I was trying to find the answer before.

Community
  • 1
  • 1
JakubM
  • 2,685
  • 2
  • 23
  • 33