iPhone/iPad browser simulator?

at. picture at. · Mar 19, 2013 · Viewed 225.2k times · Source

I need to see how my webpages are looking on an iPhone and iPad on my windows desktop. Is this possible?

A quick search yielded some iPhone testing sites, which seemed like what I wanted. However, they are wildly inaccurate when I compared against my own iPhone! I really need something that is as close to 100% accurate as possible.

Does XCode have a simulator that is 100% accurate? I understand I'd need a Mac to run XCode...

Answer

rmaddy picture rmaddy · Mar 19, 2013

The iPhone/iPad simulator that comes with Xcode includes Safari. If you run Safari in the simulator, you can view your website and it should appear the same as it would on a real device. This may work for general layout testing. But since it is a simulator, it is possible that not every single bit of functionality will be exactly the same as using a real iOS device.

If you are writing a website and you need to verify that it looks proper on a given device, then you need to test your website on that actual device. Testing with real hardware is part of the price of doing business.

And yes, you need a Mac to run Xcode.