Re: CA: fillMode and rotation animation . . .

2008-11-13 Thread Scott Anguish
do you also tell it to not be deleted from the animation hierarchy? make sure that removedOnCompletion is NO. On 11-Nov-08, at 3:00 AM, Michael A. Crawford wrote: I have a number of layers that use rotation animation about the Z- axis. Whenever the animation(s) complete the layer returns to

CA: fillMode and rotation animation . . .

2008-11-11 Thread Michael A. Crawford
I have a number of layers that use rotation animation about the Z- axis. Whenever the animation(s) complete the layer returns to the original state (zero rotational offset). I set the fillMode attribute to be kCAFillModeForwards in order to preserve the layer in its transformed state but

Re: CA: fillMode and rotation animation . . .

2008-11-11 Thread Matt Long
You also need to set it to not remove the animation on completion. [animation setRemovedOnCompletion:NO] -Matt On Nov 11, 2008, at 1:00 AM, Michael A. Crawford wrote: I have a number of layers that use rotation animation about the Z- axis. Whenever the animation(s) complete the layer