Re: Can an image be "rejected" by CALayer?
Re: Can an image be "rejected" by CALayer?
- Subject: Re: Can an image be "rejected" by CALayer?
- From: David Duncan <email@hidden>
- Date: Mon, 11 Apr 2011 13:04:44 -0700
On Apr 11, 2011, at 12:40 PM, Gabriel Zachmann wrote:
> As I said, some images just won't get displayed under 10.5, but the same images work fine under 10.6.
Assuming this is the entirety of the code, then as mentioned previously you never set the bounds or frame of your layer. Try setting the bounds of the layer to either the start or end value of the animation you add (probably doesn't matter which) and see if that changes the behavior.
It is possible that between 10.5 and 10.6 Core Animation's behavior changed with respect to layers of zero size (which your model layer still is). If setting the bounds fixes that, then that is the likely cause.
--
David Duncan
_______________________________________________
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