Invalid certificate when using webView

Hi all!

I have a script for a widget that had been running fine until I updated to iPadOS 15. It uses the webView that I parse dom elements out of. After the iPadOS upgrade it is just spinning and never loads. So I took the same url and set up a new test script using the Request and got the error:

“ The certificate for this server is invalid. You might be connecting to a server that is pretending to be…”

I was able to override it by setting allowInsecureRequest to true in my test script.

My question: is there a way to allow the webView to load an insecure page?


Have you tried to use WebView.loadRequest(request)?

1 Like

That worked!