I have a situation in my iPhone app where I should move my annotations (car image) from one location to another location....I am quite new to iOS. I am getting coordinates from server in particular time manner. I have already used HGMovingAnnotationSample
but my condition is different.
Please help me. I already wasted too much time on it.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Have you used simple animation using
-(void) animateAnnotation:(MyAnnotation*)annotation{
[UIView animateWithDuration:2.0f
animations:^{
annotation.coordinate = newCordinates;
}
completion:nil];
}
Just check it out may be it will help you.