I have a UILabel
with CALayer
shadow on.And I just move it around via UIView
animation.
The performance is poor and I can see the animation is not smooth at all.
I think it is the shadow of the UILabel
which causes the animation problem because if I turn the shadow off, the animation becomes as smooth as normal.
I have tried using view.layer.shouldRasterize = YES;
But still the animation performance is there.
Anyone can give me some hints?
Thanks