0

I have a webview that I want to display an internal website where there's an untrusted cert. How can I view bypass the cert check and display the website correctly.

Error Messages: default TLS Trust evaluation failed TLS Trust encountered error NSURLConnection finished with error - code -1202

1 Answers1

0

Try to disable transport security. More details here

<key>NSAppTransportSecurity</key>
    <dict>
      <key>NSAllowsArbitraryLoadsInWebContent</key>
      <true/>
      <key>NSAllowsArbitraryLoads</key>
      <true/>
    </dict>

Also, UIWebView deprecated, use WKWebView instead

Andrew
  • 331
  • 1
  • 6