The url I'm trying to load is of the form: @"http://user:password@x.x.x.x/something"
All I'm doing is creating an NSURLRequest object and loading the request in a web view like this:
NSString *urlString = @"http://user:password@x.x.x.x/something";
NSURL *url = [NSURL URLWithString:urlString];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[_webView loadRequest:request];
The page loads fine in iOS 6.0 simulator but not in iOS 5.0 simulator.
What happens in iOS 5.0 is the web view delegate method webViewDidStartLoad: is called but either of the methods webViewDidFinishLoad: or webView:didFailLoadWithError:are not called.
What am I missing?