UIWebView background is set to Clear Color, but it is not transparent UIWebView background is set to Clear Color, but it is not transparent objective-c objective-c

UIWebView background is set to Clear Color, but it is not transparent


Also set :

[webView setBackgroundColor:[UIColor clearColor]];[webView setOpaque:NO];


     /*for ios please set this*/     [webViewFirst setOpaque:NO];     /*for html please set this*/     <body style="background:none">


Besides setting your webview's background to clear color, also make sure that you set opaque to false.