Order of CALayer's
Order of CALayer's
- Subject: Order of CALayer's
- From: Gabriel Zachmann <email@hidden>
- Date: Thu, 1 Oct 2009 19:44:46 +0200
Dear list,
I think I'm going crazy!
I've got one root layer and two sublayers.
The content of one of them is an image, the other's content is drawn
by a delegate's drawLayer:inContext:.
I want the image layer *always* be rendered *behind* the other's
content.
But no matter what I do, the image layer is always rendered in front,
occluding the other's content!
I have tried different zPositions, I have tried to add the layers in
different order to the superlayer, and what not -- to no avail.
I have googled a lot, but found nothing -- am I the only one with this
problem?
The first chapter of the 'Core Animation Programming Guide'
says "Layers are drawn from back to front just like views" -- but how
do I specify that order??
I would really appreciate any kind of help.
Regards,
Gabriel.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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