I'm trying to do something like hybird with WKWebView.
I finished the HTML5 pages, and let it displayed in WKWebView in a macOs App.
All things go well, but I can't input any character into the <input> field in the macOs WKWebView.
My question is: Is there any way to let the <input> field can be input text in macOs WKWebView?
FYI, follow code can enable input for the <input> field: wkWebView.load(URLRequest.init(url: URL.init(string: "http://localhost:4200")!))
FYI, follow code can't input any thing for the <input> field:
wkWebView.loadFileURL(indexUrl, allowingReadAccessTo: readAccessUrl)
How can I let the <input> field be enabled to input, with the loadFileURL method?
I finished the HTML5 pages, and let it displayed in WKWebView in a macOs App.
All things go well, but I can't input any character into the <input> field in the macOs WKWebView.
My question is: Is there any way to let the <input> field can be input text in macOs WKWebView?
FYI, follow code can enable input for the <input> field: wkWebView.load(URLRequest.init(url: URL.init(string: "http://localhost:4200")!))
FYI, follow code can't input any thing for the <input> field:
wkWebView.loadFileURL(indexUrl, allowingReadAccessTo: readAccessUrl)
How can I let the <input> field be enabled to input, with the loadFileURL method?