Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View source in iOS Simulator?

Does anybody know of a tool where I can inspect the source code of a site in Apple's iOS Simulator? Something like Firebug or the Chrome Developer Tools for this would be great, and I haven't found anything yet.

like image 576
Connor Avatar asked May 31 '11 17:05

Connor


1 Answers

The old, previous answers have been deleted as they contained obsolete information.

Using at least Xcode 4 and Safari 6, open up a web view in the iPhone Simulator, then switch to the desktop Safari. In Safari's Develop menu (you have to enable it in the Preferences), you'll find an "iPad Simulator" menu that allows you to open up the Safari Web Inspector for the pages open in the simulator!

like image 118
Ben Gotow Avatar answered Oct 07 '22 09:10

Ben Gotow