Re: CA: fillMode and rotation animation . . .
Re: CA: fillMode and rotation animation . . .
- Subject: Re: CA: fillMode and rotation animation . . .
- From: Matt Long <email@hidden>
- Date: Tue, 11 Nov 2008 08:34:49 -0700
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 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 this does not help. I must not
correctly understand how fillMode is to be used. Anyone have a
suggestion as to how I can achieve the desired result and have the
result of the animation stick?
-Michael
----------------------
The united stand. The divided get played.
-- Bernie MAC
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden