2

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.

bot
  • 4,841
  • 3
  • 42
  • 67
shivam
  • 136
  • 13

1 Answers1

3

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.

iHulk
  • 4,869
  • 2
  • 30
  • 39