Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何将目标 c 控制器类的参数发送到 phoneGap 中的 index.html 是 javascript ?
最简单的方法是:
[webView stringByEvaluatingJavaScriptFromString:@"SetValue(newValue)"];
其中 SetValue 是您自己的 javacript setter 函数