title: Implement UIAlertView into a Tabbed Application
body: <p>I have finally gotten code for displaying an alert if there is no internet connection. </p>
  
  <pre><code> Reachability *r = [Reachability reachabilityWithHostName:@"m.google.com"];
  NetworkStatus internetStatus = [r currentReachabilityStatus];
  if(internetStatus == NotReachable){
  
      NSLog(@"There's no connection");
  
      UIAlertView *errorAlertView = [[UIAlertView alloc]
                                     initWithTitle:@"No internet connection"
                                     message:@"Internet connection is required to use this app"
                                     delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
  
      [errorAlertView show];
  
  }else
      NSLog(@"Internet connection is OK");
  </code></pre>
  
  <p>It doesn't work when a WebView is in a tabbed application. Is there anyway I could tweak the code to get it to be friendly with a WebView in a Tabbed View Controller?</p>