Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging iOS7 Safari CSS issues with web inspector

Tags:

I followed the steps to set up debugging webpage on iOS. It worked. However I see an issue with the inspector - it doesn't let me check the DOM and corresponding CSS. Anyone else has this issue? (Exact same issue when debugging using the simulator.)

Screenshot: http://screencast.com/t/E4fxPQwk14

Resource: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/DebuggingSafarioniPhoneContent/DebuggingSafarioniPhoneContent.html

Thanks!

UPDATE: WebKit nightly works. Thank you Timothy Hatcher!

like image 649
Anna Avatar asked Sep 18 '13 21:09

Anna


People also ask

How do I debug CSS in Safari?

To enable them, go to Safari preferences and check the box under the “Advanced” tab that says “Show develop menu in menu bar.” Now under the Develop menu, go down to “Show Web Inspector.” This should pop up a menu at the bottom of your window containing tons of great options for inspecting and debugging web pages.

What is Web Inspector on Safari settings?

Safari includes Web Inspector, a powerful tool that makes it easy to modify, debug, and optimize websites for peak performance and compatibility on both platforms. And with Responsive Design Mode, you can preview your web pages in various screen sizes, orientations, and resolutions.


1 Answers

You need to use a WebKit nightly, Safari 6.1 or Mavericks to use Web Inspector with iOS 7.

like image 97
Timothy Hatcher Avatar answered Sep 18 '22 13:09

Timothy Hatcher