DSBridge-IOS icon indicating copy to clipboard operation
DSBridge-IOS copied to clipboard

:earth_asia: A modern cross-platform JavaScript bridge, through which you can invoke each other's functions synchronously or asynchronously between JavaScript and native.

Results 68 DSBridge-IOS issues
Sort by recently updated
recently updated
newest added

如题,当在html 中使用 dsBridge.call("name", "msg")调用,当msg 超过 1015个字符时,后面的字符会被截断掉,导致无法正常实现数据传递,请问这个是 dsBridge 里面处理的还是 dwkwebview处理的? ios 原先的 wkwebview 没有这个长度限制。

@objc func testAsyn( _ arg:String, block: (String, Bool)->Void) { block(String(format:"%@[Swift async call:%@]", arg, "test"), true) } @objc func testAsyn( _ arg:String, handler: (String, Bool)->Void) { handler(String(format:"%@[Swift async call:%@]", arg, "test"),...

加载地址的时候打不开,是为什么?楼主知道不

使用loadUrl时,页面无法加载,显示页面空白,

…alled, webview will be crash. When H5 alert( comfirm/ promot) something, and webview dealloc, then the dwkwebview will crash.

通过定义一个协议,从具体的类中直接获取所有方法,而不用遍历具体类以及继承类的所有方法。