title: webViewDidFinishLoad did finish loading but didn't finish showing content on screen
body: <p>I'm using <code>webViewDidFinishLoad</code> a lot in my app and there's something about <code>UIWebView</code> that really bugs me, well, actually two things.
  The first, when I load new content to a <code>UIWebView</code> I will see for half a second the last page that was loaded to the same <code>UIWebView</code> what will force me to "clean" the <code>UIWebView</code> using something like:</p>
  
  <pre><code>[_mainWebView stringByEvaluatingJavaScriptFromString:@"document.open();document.close();"];
  </code></pre>
  
  <p>before loading the new content. </p>
  
  <p>The second issue I have and that's the main issue for this question is that if i'll load some new content to my <code>UIWebView</code> and do something like this:</p>
  
  <pre><code>[_mainWebView loadHTMLString:htmlString baseURL:nil];
  ...
      - (void)webViewDidFinishLoad:(UIWebView *)webView {
              _mainWebView.alpha = 1;
      }
  </code></pre>
  
  <p>In some cases the <code>UIWebView</code> will show up white for half a second before showing up the content. I'm guessing that the content is already loaded into the <code>UIWebView</code> and that's why <code>webViewDidFinishLoad:webView</code> is firing but for small html pages showing to content takes loner than the actual load. Is there any workaround I can use to avoid the blank screen that is showing for a sec or so but still save that second? </p>
  
  <p>I thought about animating the alpha from 0 to 1 but that solution feels kinda lame to me.</p>