title: UIWebView cannot redirect
body: <p>I'm new to Objective-C.</p>
  
  <p>I have made an application which redirects a string to a webView.  I want that webView should load wikipedia and should search the contents present in that string.</p>
  
  <p>I have written like this...</p>
  
  <pre><code>NSString *urlString=[NSString stringWithFormat:@"http://en.wikipedia.org/wiki/Main_Page/search=%@",str1];
  //[urlString stringBy];
  NSLog(@"url   %@",urlString);
  NSURL *url=[NSURL URLWithString:urlString];
  NSURLRequest *request=[[NSURLRequest alloc]initWithURL:url];
  [webView loadRequest:request];
  </code></pre>