CALayer shadow and zPosition
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