javascript - 是否可以在 Macgap 中调试 UIWebView?

标签 javascript ios xcode native

我知道在常规 iOS 开发中,您可以将目标设置为模拟器,弹出打开 Safari,然后使用开发人员工具调试 webview。不过,我似乎无法弄清楚如何使用 macgap 应用程序来做到这一点。我错过了什么吗?

最佳答案

是的,可以激活开发者工具:

在终端中:

defaults write com.MacGap developer 1 (MacGap1)

defaults write com.MG developer 1 (MacGap2)

在这里阅读更多相关信息:

https://github.com/maccman/macgap/wiki/Switching-on-Developer-Tools

关于javascript - 是否可以在 Macgap 中调试 UIWebView?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21139863/

相关文章:

ios - 如何将两个 UIImage 添加到 UITableView 背景

ios - AFNetworking 2.0 HTTP POST 进展

xcode - 隐藏 Swift "Will never be executed"警告

ios - Xcode UIDragSession 中断音频线程

iPhone 存储大量图像

javascript - 使用 node/express.js 的模块中的全局变量

javascript - 谷歌浏览器 ERR_CACHE_MISS 解决方法

javascript - AngularJS 指令的误解

javascript - 使用 $resource 服务访问 REST API

ios - className.type 没有名为 'appDel' 的成员