Phonegap iOS Safari debug workflow

拈花ヽ惹草 提交于 2019-12-01 10:35:53

When you say "native app", you actually mean the Phonegap app deployed to your device?

Here is how I do it. It works on both iOS Simulator and actual device:

  1. Open Settings > Safari > Advanced and make sure "Web Inspector" is enabled
  2. Connect the device and deploy the Phonegap app using Xcode
  3. Wait for the app to launch and navigate to Safari on my desktop, then find my device name in the develop menu

Make sure Web Inspector is enabled in Settings > Safari > Advanced > WebInspector.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!