Hey list, I have a layer that draws its content based on its bounds size, and I'm animating this layer's size using a CABasicAnimation. I've set the layer's needsDisplayOnBoundsChange = YES.
During the course of the scaling animation, though, the layer is not redrawn. Instead, its cached content (before the animation began) is scaled, which doesn't look great. As best as I can tell, there's no way to force a layer to be redrawn during an animation. (Performance isn't an issue in this case - just a few shapes.) I've started looking into implementing a custom CIFilter - which apparently are redrawn during animations and such - but this solution is looking ugly. Alternatively, I could set up a timer and animate the layer's size manually, but I'm hoping for a better solution. Any thoughts? Thanks! David _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
