title: Internet Connection Check UIWebView?
body: <p>I have a UIWebView that loads a PDF document, like this:</p>
  
  <pre><code>NSURL *myUrl = [NSURL URLWithString:@"http://www.site.com/myPDF.pdf"];
  NSURLRequest *myRequest = [NSURLRequest requestWithURL:myUrl];
  
  // Clear Cache, to insure prompt update of PDF
  [[NSURLCache sharedURLCache] removeCachedResponseForRequest:myRequest];
  [myWebView loadRequest:myRequest];
  </code></pre>
  
  <p>When my internet connection is off, i get nothing. Just a blank UIView. Is there any way i can detect when there is not internet connection, or check if the URLContents is empty? I am trying to call a method <code>-(void)showErrorText</code> to show text in the center screen. How would i do this? (I got the method complete, just not the internet check). THANKS.</p>