At times the UIWebView background needs to be made transparent so that the HTML content is displayed flushed against the screen background.

For this set the following properties on the UIWebView :


Code

[yourView setBackgroundColor:[UIColor clearColor]];
[yourWebView setOpaque:NO];