Tip 133Simulate an iPhone or iPad

By downloading the free Xcode from the Mac App Store, you can gain access to a primitive but useful iPhone and iPad emulator called iOS Simulator. It’s provided to allow developers to test any apps they create, and as such, the range of built-in apps is limited to Safari, Photos, Contacts, Settings, Game Center, and Newsstand. However, if you create websites on your Mac, you can use the simulator to see how the site looks on the iPad/iPhone version of Safari. You can also just play around a little because the simulator is fun to use!

To access the simulator, start Xcode, click the application menu, and then select Open Developer TooliOS Simulator. A simulated iPhone will appear as a floating window. This will ...

Get Mac Kung Fu, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.