On 6/7/12 2:14 AM, Markus Spoettl wrote:
> Hello,
> 
>   I have a delegate-drawn CALayer which uses a kCATransitionFade content
> transition animation set in -actionForLayer:forKey: of its delegate.
> 
> This works fine if the layer is not moving. When the content changes,
> the new content simply fades in, the old one fades out.
> 
> However, when the layer is moving at the time its content changes, the
> old content fades out but it remains stationary where the layer was when
> the transition started. It no longer moves along with the layer
> position. The new content fades in, moving with the layer.
> 
> Is this to be expected? If so, what is the proper way of handling this?
> Surely there must be something basic I'm missing again.
> 
> Thanks for any pointers!

I haven't had a chance to test it myself, but what if you set the
transition animation on the layer's -presentationLayer instead of on the
layer directly?

-- 
Conrad Shultz

Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to