Reputation: 753
In my app I am showing user annotation(custom annotation with user thumbnail) on map. Whenever User changes location or user moves I also change my annotation position according to user location but right now it has blinking effect as I add and remove annotation on map. I want smooth animation of my annotation whenever user moves. How can I achieve that.
I have to remove and add annotation everytime. but removing and adding annotations is not a good approach it creates blinking effect when user is moving or driving.
Plzz can anyone help with this issue.
Upvotes: 3
Views: 539
Reputation: 5128
Are you replacing the default MKUserLocation
or are you manually tracking in Core Location and adding your own annotation? You should be able to do this smoothly by just returning a customer user location annotation in your delegate.
Upvotes: 1