Open boyXiong opened 3 years ago
let configuration = WKWebViewConfiguration()
configuration.preferences.javaScriptEnabled = true
if #available(iOS 13.0, *) {
configuration.defaultWebpagePreferences.preferredContentMode = .mobile
}
let w = WKWebView(frame: .zero, configuration: configuration)
WVJB Bug Report
Thanks for reporting an issue with WebViewJavascriptBridge.
Do these 4 things and I will fix your problem!
cd
into it and runmake test
. All tests should pass!Tests/WebViewJavascriptBridgeTests/BridgeTests.m
and create a new, failing test which demostrates your issue.That's it!
I will take it from there and promise that I'll fix your problem ASAP.
If you don't do this then I can't help you!
And I probably won't :)
Cheers, @marcuswestin