Search code examples
xcodesafariios-simulatormobile-safari

If web app works fine in Safari, why also test it in iOS simulator?


I am building a cross-platform mobile app in jQueryMobile and PhoneGap and am currently preparing the iPhone/iPad release. The Phonegap docs suggest I deploy to iOS simulator before deploying to a device http://phonegap.com/start

My app doesn't do a whole lot of device-dependent stuff, though it does use the vibrate function. Basically it's just a packaged website that uses local storage.

When I deploy to simulator, I run into problems that don't occur when I test the app through the Safari browser (I tested Safari on Windows, iMac and iPad).

Since all sources say that Safari works identically on all devices, I am tempted to think that I can ignore problems tht only occur in the highly unnatural context of a mobile device OS simulator running on a laptop.

Am I right? If it works in Safari, why still test a web app in iOS simulator?


Solution

  • What problems do you get? Don't think because it works in browser it will in your app :P