I\'m trying to make a SOAP request with Swift. Running the latest Xcode/iOS as of 9/9/14. I use an NSMutableURLRequest that I add an HTTPBody to with the reques
I searched everywhere for this problem and ultimately I was passing the wrong credentials at didReceiveAuthenticationChallenge :(
Check if you are accidentally doing the same too
If that doesn't work try this:
Embed your credentials in the url string
NSString *urlString = @"http://username:password@domain.com/home";
[webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlString]]];