I composed a kind of animation by adding several layers to a UIView. Those layers shall be set visible or invisible by a script.
The script is based on objects that impl
Just wrap the code where you are making the change.
[CATransaction begin]; [CATransaction setAnimationDuration:0]; [thelayer setAlpha:0]; [CATransaction commit];