开发者

Flash content in webview ignores views above the webview in Cocoa

开发者 https://www.devze.com 2023-01-30 00:03 出处:网络
I\'ve tried to find an answer but I can\'t find it. I\'m trying to display a view above a WebView. The problem is that when flash content is loaded into the WebView it will cover the other vi开发者_如

I've tried to find an answer but I can't find it.

I'm trying to display a view above a WebView. The problem is that when flash content is loaded into the WebView it will cover the other vi开发者_如何学Goew, just the flash not the text and so fourth around it. Any suggestions on how to solve this?

The green rectangle in this picture is the view I want to have above the flash content. As it is now it's placed under it but above the rest of the WebView. http://twitpic.com/3fdhlo/full

Thanks


This is because all recent builds of Flash render using Core Animation Layers, rather than the older NSView-drawing system.

What are you really trying to achieve with this floating view? Note that while Cocoa does support overlapping views as of 10.5, they're generally not a great idea because of problems like this.

0

精彩评论

暂无评论...
验证码 换一张
取 消