iPhone app on iPad: UILabel pixelated during rotation?


I tried my iPhone app (not universal) on iPad 2 just for a test... and I noticed something strange.
In a view I have some UILabel (inside an UIImageView ) that spin, float and collide with each other, but on iPad 2 the labels are drawn as pixelated when they rotate. I mean obviously in x1 mode. I still hadn't a chance to test on iPad 1.
I have implemented rotation and displacement with NSTimer (scheduled with time interval of 0.05). No problem with UIImageView objects, only with UILabel objects. The effect is really horrible.
Any suggestions? Thanks in advance


已经有一段时间了,但我回到了这个问题,我通过设置用CGAffineTransformMakeRotation转换的UIView对象的shouldRasterize来解决它:

subview.layer.shouldRasterize = YES;
链接地址: http://www.djcxy.com/p/95780.html

上一篇: setNeedsDisplay适用于iPhone,但不适用于iPad

下一篇: iPad上的iPhone应用程序:UILabel在旋转过程中是否像素化?