阅读背景:

将socket.io加载到JavaScriptCore for iOS中

来源:互联网 

I'm writing an iOS/JavaScriptCore app that calls code from a Javascript file. My Javascript code depends on the 'io' variable created by importing socket.io.js. The Javascript all works fine when loaded from an HTML file, but when I load socket.io.js into JavaScriptCore the io variable is not defined and my own Javascript can't run.I'm writing an iOS/JavaScriptCore app that call




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: