开发者

Is there any way to improve UIView beginAnimations/commitAnimations performance?

I am resizing a control via

[UIView beginAnimations]
[self setTransform:CGAffineTransformMakeScale(0.5f, 0.5f)];
[UIView commitAnimations]

The animation looks beautiful on the iPhone simulator but on my 2G test device it is unbearably slow and choppy.开发者_C百科 How can I improve the animation on an older iPhone? Or do I have to disable animated transitions on older devices? Thanks.


My problem was too many non-opaque UIViews on the screen. I radically reduced the number through some redesign and it is very zippy now.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜