i like to animate my image "finga" not centered but from left or right:
[UIView beginAnimations:nil context:nil]; 开发者_StackOverflow社区
[UIView setAnimationRepeatCount:1];
finga.transform = CGAffineTransformMakeScale(2,1.5);
finga.animationDuration = 2;
[UIView commitAnimations];
If I understand your question, you need to move the finga view off screen left or right (set the frame) prior to doing your animation.
精彩评论