title: How to detect and handle HTTP error codes in UIWebView?
body: <p>I want to inform user when HTTP error 404 etc is received. How can I detect that?
  I've already tried to implement </p>
  
  <pre><code>- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
  </code></pre>
  
  <p>but it is not called when I receive 404 error.    </p>