Question: I have added the back ground color as an image to uiwebview but it is coming to the back side of web view not to the web view. The web view is always in white colored view, I can't change it.

```
myView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
myView.autoresizingMask=YES;

webView = [[UIWebView alloc] init];
webView.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"BG_Doctor.png"]];

webView.delegate = self;
[myView addSubview:webView];
self.view=myView;

```

Please help me to set the background color to webview not to back of it

Answer: 
[webView setOpaque:NO];
A webview will display a document, so background color is really nothing that makes a lot of sense here. If you want to display something while no page is loaded, build a placeholder page containing your background.