JS_OC icon indicating copy to clipboard operation
JS_OC copied to clipboard

JS与原生OC互相调用的Demo

Results 5 JS_OC issues
Sort by recently updated
recently updated
newest added

首页里面的连接点击去都是404的,如果是转为私密的话,能提供一下获取方式吗?

Provisioning profile "iOS Team Provisioning Profile: com.test.JS-OC-Cordova" doesn't include the application-identifier and keychain-access-groups entitlements.

``` [self.webView loadRequest:request]; ``` 我下载你的代码带本地查看,完全一样的代码你的是可以运行的,我的在加载上面的代码的时候报错NSURLConnection finished with error - code -1100,请问你是怎么解决的?

这段代码报错: ` - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler { if (webView != _webView) { return; } NSURL *url = navigationAction.request.URL; __strong typeof(_webViewDelegate) strongDelegate = _webViewDelegate; if ([_base isCorrectProcotocolScheme:url]) {...

感觉MessageHandler和JavaScriptCore并不能帮我们处理多请求同时并发的情况下,区分回调是对应哪一次请求发起的。 而WebViewJavascriptBridge和Cordova中会在调用时自动生成uniqueId帮助区分。 不知道我的理解对不对会。