• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can an image be "rejected" by CALayer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Can an image be "rejected" by CALayer?
      • From: Gabriel Zachmann <email@hidden>
References: 
 >Re: Can an image be "rejected" by CALayer? (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Re: Can an image be "rejected" by CALayer?
  • Next by Date: Re: NSPopUpButton, notification when selecting value/object
  • Previous by thread: Re: Can an image be "rejected" by CALayer?
  • Next by thread: Re: Can an image be "rejected" by CALayer?
  • Index(es):
    • Date
    • Thread