Keyboard extension's WKWebView not running in iOS16

My code used to work on iOS versions prior to iOS16, but it no longer does. I am running iPadOS -not checked on iPhones.

A view based on WKWebView is supposed to show HTML files inside a keyboard extension. It is now not not displaying correctly and any Javascript will lock up the UI. Setting stringByEvaluatingJavaScriptFromString > evaluateJavaScript's completionHandler to nil fixes this, but Javascript is not run. No errors, but blank space.

Any ideas?

I found that "Full access" turned off for some reason causing this.

Keyboard extension's WKWebView not running in iOS16
 
 
Q