UIWebView: Error while loading URL
问题 I am trying to build an RSS reader for the Tom's Hardware website. I have an error when I try to load an URL into an UIWebview from an RSS link. Here'is my code: - (void)viewDidLoad { [super viewDidLoad]; if (self.url != nil) { NSURL *requestUrl = [NSURL URLWithString:self.url]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:requestUrl]; [webView loadRequest:requestObj]; } } The url is setted by the parent controller. When the URL comes directly from the RSS, I have an error in log: