我正在使用 xCode 模拟器在我正在开发的网站上测试 jQuery,但我无法弄清楚为什么它不工作。在 Safari webkit 上它工作正常。
The site is here虽然找出问题所在会很有帮助,但我想知道将来在使用模拟器“检查”或查看 javascript 控制台错误时我能做些什么。
最佳答案
您可以使用桌面版 Safari 中的开发人员工具在 iOS 设备或模拟器上调试 Safari,请参阅 https://webdesign.tutsplus.com/articles/quick-tip-using-web-inspector-to-debug-mobile-safari--webdesign-8787和 https://developer.apple.com/library/archive/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/GettingStarted/GettingStarted.html
关于javascript - jQuery 可以在 Safari 上工作,但不能在 iOS 上工作 - 我可以做什么来调试?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43335568/