WKJavaScriptController icon indicating copy to clipboard operation
WKJavaScriptController copied to clipboard

Calling native code from Javascript in iOS likes JavascriptInterface in Android.

Results 2 WKJavaScriptController issues
Sort by recently updated
recently updated
newest added

If we have this function injected: func test(string: String) And in WebView we call test(123), passing a int instead a string, the app crashes because of unsafeBitCast. Any idea in...

Hello, is it possible to return String value from Swift to JS? For example, I would like to do something like this: ``` @objc protocol JavaScriptInterface { func someFunc() ->...