title: uiwebview not loading the web page
body: <p>in my program uiwebview is not loading the url address.when i nslogged the request object is not null.however when i nslog the webview.request it returns null.what may be the reason it is not loading</p>
  
  <pre><code> - (void)viewDidLoad {
          [super viewDidLoad];
  
          self.web = [[UIWebView alloc] init];
          NSString *urlAddress = @"http://www.google.com";
          NSURL *url = [NSURL URLWithString:urlAddress];
          NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
  
          NSLog(@"%@",requestObj);
          [self.web loadRequest:requestObj];
          [web setFrame:CGRectMake(0, 0, 320, 370)];
          NSLog(@"%@   %@",self.web,self.web.request);
  
  
      }
  </code></pre>
  
  <p>the nslog results are </p>
  
  <pre><code>&lt;NSURLRequest http://www.google.com&gt;
   &lt;UIWebView: 0xbb17ff0; frame = (0 0; 320 370); layer = &lt;CALayer: 0xbb12f20&gt;&gt;   (null)
  </code></pre>
  
  <p>as per suggestions from this site i changed it from IB and made it to code .i made the class confirm to uiwebview delegate..both the webviewdidstart and webview did finish are being called these are the nslog outputs from these methods</p>
  
  <p>webviewdidstart</p>
  
  <pre><code>webView-----&gt;&lt;NSMutableURLRequest &gt;
  webView-----&gt;&lt;NSMutableURLRequest http://www.google.com&gt;
  </code></pre>
  
  <p>webview did finish</p>
  
  <pre><code>webView-finished----&gt;&lt;NSMutableURLRequest http://www.google.com&gt;
  webView-finished----&gt;&lt;NSMutableURLRequest http://www.google.com&gt;
  </code></pre>
  
  <p>still nothing is being called and i think both these methods are called twice</p>