开发者

animation in one direction

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜