How to Change UIWebview’s background color in iPhone Xcode?

By | January 4, 2013

Unlike other UIViews, the UIWebview’s opaque property is set to true by default. That should be set to false for changing the background color.

[myWebView setOpaque:NO];

myWebView.backgroundColor=[UIColor redColor];

Leave a Reply

Your email address will not be published. Required fields are marked *