Removing subviews that are layer backed problem.
Removing subviews that are layer backed problem.
- Subject: Removing subviews that are layer backed problem.
- From: Mathieu Coursolle <email@hidden>
- Date: Wed, 23 Apr 2008 10:08:50 -0400
Hi Cocoa developers,
I have a custom view (let's call this one the main view) which shows
some UI controls and another custom subview which is layer backed
(wantsLayer = YES). I created my own CAOpenGLLayer subclass to perform
specific OpenGL drawing in it.
The main view needs to change its content view according to some
state. When I remove
a content view which has a layer-backed subview, the layer does not
disappear right away.
Its stays there for 1 second and then disappear.
Should it disappear as I remove its view?
Thanks!
MAthieu
_______________________________________________
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