问题描述
我将iPhone连接到Mac,并在iPhone高级设置中启用了Web Inspector,能够在mac Safari浏览器中查看页面,但无法在Safari浏览器中检查任何元素及其样式.我没有看到元素面板或样式面板.
I connected iPhone to mac and I enabled Web Inspector in iPhone advanced settings, able to see the page in mac safari but not able to inspect any element and its style in safari. I am not seeing the elements panel or style panel.
谁能帮助我找到那些面板来调试样式,这些样式应用于我正在iPhone中测试的页面元素.我可以在调试桌面野生动物园页面时看到这些面板.请参阅屏幕截图
Could anyone help me to find those panels to debug the styles, which i applied to page elements which I am testing in iPhone. I am able to see those panels in debugging the desktop safari pages. see the screenshot
在此先感谢您的帮助.
推荐答案
答案是,需要从下拉菜单中选择DOM树,如屏幕截图所示.
The Answer is , need to select the DOM Tree from the dropdown as in the screenshot.
这篇关于Safari Web Inspector在调试iPhone时不显示元素和样式面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!