I have code that loads an HTML page into a WKWebView and needs to call javascript functions in the HTML page to update font family and size.
Now that WKPreferences.javaScriptEnabled has been deprecated, it does not seem to work anymore.
How to I correctly create a struct WebView: UIViewRepresentable with makeUIView and updateUIView to be able to show the page and call the functions in the HTML page?
Please help...
Now that WKPreferences.javaScriptEnabled has been deprecated, it does not seem to work anymore.
How to I correctly create a struct WebView: UIViewRepresentable with makeUIView and updateUIView to be able to show the page and call the functions in the HTML page?
Please help...