title: UIWebView: Error while loading URL
body: <p>I am trying to build an RSS reader for the Tom's Hardware website.</p>
  
  <p>I have an error when I try to load an URL into an UIWebview from an RSS link.</p>
  
  <p>Here'is my code: </p>
  
  <pre><code>- (void)viewDidLoad {
   [super viewDidLoad];
  
   if (self.url != nil) {
    NSURL *requestUrl = [NSURL URLWithString:self.url];
    NSURLRequest *requestObj = [NSURLRequest requestWithURL:requestUrl];
    [webView loadRequest:requestObj];
   }
  }
  </code></pre>
  
  <p>The url is setted by the parent controller.</p>
  
  <p>When the URL comes directly from the RSS, I have an error in log: </p>
  
  <p>[2234:207] Error Domain=WebKitErrorDomain Code=101 UserInfo=0x3a6a240 "Operation could not be completed. (WebKitErrorDomain error 101.)"</p>
  
  <p>When I set manually the URL with the same URL like below, it work !</p>
  
  <pre><code>self.url = @"http://www.presence-pc.com/tests/fraude-financiere-paget-macafee-23198/#xtor=RSS-12";
  </code></pre>
  
  <p>Here is an URL exemple: <a href="http://www.presence-pc.com/tests/fraude-financiere-paget-macafee-23198/#xtor=RSS-12" rel="nofollow noreferrer">http://www.presence-pc.com/tests/fraude-financiere-paget-macafee-23198/#xtor=RSS-12</a>. I have no idea about that problem.</p>
  
  <p>I hope you can help me.</p>
  
  <p>Best regards.</p>