Is there a way to change background color for UIWebView
?
None of the colors set in IB effect UIWebView
behavior: before actual content is l
None of the answers here worked for me, they all involved still some sort of flash. I found a working answer here: http://www.iphonedevsdk.com/forum/iphone-sdk-development/4918-uiwebview-render-speeds-white-background.html (I had to adjust the delay to .25 to avoid the flashing). Remember to check the UIWebView's "hidden" flag in InterfaceBuilder.
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
[self performSelector:@selector(showAboutWebView) withObject:nil afterDelay:.25];
}
- (void)showAboutWebView
{
self.infoWebView.hidden = NO;
}