I am building an ASIHttpRequest to set the credentials.
My next step is to reuse this request und load an HTML Site with:
[webView loadRequest:<#(NSURLRequest *)#>]
But this is not working with ASIHTTPRequest...
Also I tried to this:
[self.webView loadData:[asiRequestWebView responseData] MIMEType:@"text/html" textEncodingName:@"UTF-8" baseURL:targetURL];
But still its not working.
And I can't use the ASIWebpageRequest because its not very stable....
Please I need some ideas..
EDIT:
@gardenofwine
Thank you very much. I ended up doing what you said:
[webView loadRequest:[NSURLRequest requestWithURL:[asihttprequest url]]];
But told the request before:
asiRequest.useKeychainPersistence = YES;
Now it works like a charm thank you very much!