• 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
CALayer shadow and zPosition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayer shadow and zPosition


  • Subject: CALayer shadow and zPosition
  • From: Graham Cox <email@hidden>
  • Date: Wed, 26 Mar 2014 18:11:42 +1100

I have a series of CALayers which are all siblings within a hosting layer. I want one of these layers to have a shadow, so I set the shadow properties. Problem is that the shadow draws behind all of the sibling layers.

So, I tried setting the zPosition of the shadowed layer so that it's well 'in front' of its siblings, and while the layer content draws in front, the shadow doesn't - it's still behind.

How do I do this?

--Graham



_______________________________________________

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


  • Prev by Date: Re: NSArrayController and multiple Entities
  • Next by Date: Re: Image without profile gets an sRGB profile on Mavericks
  • Previous by thread: Re: NSArrayController and multiple Entities
  • Next by thread: Re: Get session key from SSL/TLS connection using NSStream
  • Index(es):
    • Date
    • Thread