I have an app that makes frequent use of Ext.platform.isIPhoneOS to build an iPhone-specific UI. I see that this boils down to Ext.userAgent (which, I think, uses navigator.userAgent).
I can't get Chrome to "spoof" an iPhone user-agent at the javascript level (i.e., navigator.userAgent); there is a --user-agent flag you can pass to chrome.exe, but it seems to only affect the HTTP headers.
Does anyone have a clever way of doing iPhone testing via Chrome? I realize that ultimately it should be tested on an actual Apple device, but my employer hasn't provided any yet.
And suddenly I feel really stupid... *face in palm*
And since I've already embarrassed myself: mobilewebkit is just a webkit port that really only exists inside Mobile Safari (and maybe in Android), correct (hence the need for real testing in the iPhone Simulator or via an actual device)?
I've just started with Sencha Touch and after a lot of downloads and trial/error I've been using Chrome for development and testing too. I was hoping I might find a better suggestion or some alternatives in this thread, but maybe there aren't any better methods. Has anyone tried Android OS in a VM?
I am just getting started with Sencha Touch. I would like to learn more about the suggested solution, but I am unable to find this in the Touch or the Ext API documentation.
I am just getting started with Sencha Touch. I would like to learn more about the suggested solution, but I am unable to find this in the Touch or the Ext API documentation.