WebView in a layer view hierarchy - not working on Snow Leopard
WebView in a layer view hierarchy - not working on Snow Leopard
- Subject: WebView in a layer view hierarchy - not working on Snow Leopard
- From: Luke Evans <email@hidden>
- Date: Fri, 23 Oct 2009 16:53:57 -0700
I have an app that plain stopped working between Leopard and Snow
Leopard.
This app relies on placing a WebView component in a Core Animation
layer view hierarchy (i.e. "Needs Core Animation Layer" flag is turned
on for this view and its superviews), so that I can draw annotations
over the web content with a mostly-transparent 'glass view' in a layer
above.
What I've found so far is that if I turn off the "Needs Layer" flag on
the WebView and all its superviews, then the web content is visible.
If I leave this flag on however, then all I get is a plain white area,
with no web content visible (though this continues to be loaded).
I have logged this as a bug already - mostly because its a behaviour
change between Leopard and Snow Leopard, and I have not found any
documentation that indicate this is an intentional change.
However, it _might_ be intentional, or possibly I was already flying
by the seat of my pants to have it working in the first place. In any
case, perhaps somebody has some concrete knowledge on the subject...?
Cheers
-- Luke
_______________________________________________
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