title: Is it correct to invoke stringByEvaluatingJavaScriptFromString of UIWebView in viewDidLoad?
body: <p>I need to set the background of webView at a time when the html has not loaded.</p>
  
  <p>In iOS 5.0 this code is correctly working:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      [webView stringByEvaluatingJavaScriptFromString:@"document.body.style.backgroundColor=\"#41414C\";"];
  }
  </code></pre>
  
  <p>But in iOS 4.2 nothing happening with background.</p>
  
  <p>How can I set background of web View at a time when the html has not loaded?</p>