我有一个带有 UIWebView 的页面,它运行良好,直到最近一些重定向发生了变化,URL 从 HTTP 到 HTTPS。页面无法显示。
记录的错误:
Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid.
现在,我希望绕过所有证书检查并允许所有证书。尝试使用此How to use NSURLConnection to connect with SSL for an untrusted cert?但错误仍然出现。帮助,有人吗?谢谢!