Hello,
I'm trying to perform some simple animations using CA layers on
transparent window and corresponding view. The problem I have is that
every time I turn on the layer backing (either through wantsLayer in
code, or with IB) the view stops being transparent.
I've tried setting layer's backgroundColor to something with low alpha
and few other rather obvious approaches, but it looks to me that I'm
missing something.
To illustrate the problem better, let's just use sample Round
Transparent Window project from Apple (http://developer.apple.com/Mac/library/samplecode/RoundTransparentWindow/index.html
).
By default it looks like this:
http://slonce.com/no-layer.png
But with layer added (just this single line in awakeFromNib), the
transparency goes away:
http://slonce.com/with-layer.png
Could anyone please give me some hints on this?
Thanks,
-Z
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com