title: UIWebView didFinishLoading fires multiple times
body: <p>I have some code that needs to run after the a <code>UIWebView</code> finishes loading a document.  For that I've set the <code>UIWebView</code>'s delegate to my controller, and implemented the <code>webViewDidFinishLoading</code> method.</p>
  
  <p>This gets called multiple times, depending on the type of page to load.  I'm not sure if it's because of ajax requests, requests for images, or maybe even iframes.</p>
  
  <p>Is there a way to tell that the main request has finished, meaning the HTML is completely loaded?</p>
  
  <p>Or perhaps delay my code from firing until all of those events are done firing?</p>