On Jul 19, 2008, at 7:13 AM, Bruce Cresanta wrote:

> I am writing an application using WebView that uses the [[WebView  
> mainFrame] loadRequest:<req>] method. The problem is that my  
> background is dark and the view flashes the color White upon adding  
> it as a subview of a view.

You might want to try calling the setDrawsBackground: method on the  
WebView.

     [webView setDrawsBackground:NO];

That will prevent the WebView from drawing a white background; when  
there is no content it will be transparent, showing the view behind it.

     -- Darin

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to