There's a load of questions which ask this: Can I get UIWebView to view a self signed HTTPS website?
And the answers always involve either:
- Use the private api call for
NSURLRequest:allowsAnyHTTPSCertificateForHost - Use
NSURLConnectioninstead and the delegatecanAuthenticateAgainstProtectionSpaceetc
For me, these won't do.
(1) - means I can't submit to the app store successfully.
(2) - using NSURLConnection means the CSS, images and other things that have to be fetched from the server after receiving the initial HTML page do not load.
Does anyone know how to use UIWebView to view a self-signed https webpage please, which does not involve the two methods above?
Or - If using NSURLConnection can in fact be used to render a webpage complete with CSS, images and everything else - that would be great!
Cheers,
Stretch.