App - Ext.is.iOS return false on iPad

App - Ext.is.iOS return false on iPad

Sencha touch 1.1.1
Running an iPhone app on iPad in 2x emulation Ext.is.iOS return false, even of course we are on iOS, working fine with universal app or iPad app.

Mac OSX Lion 10.7.4
xCode 4.3.3
Sencha Touch 1.1.1
Phonegap 1.8.1

I dont look at the code in Sencha Touch 2, but if you test navigator property the same way, Ext.is.iOS will return false on Sencha Touch 2 too.

Using Ext.is.iOS in an iPhone app will cause unexpected result on iPad and this will cause the rejection of the app on appstore, because they test that the app is working fine also on iPad.
Off course was my fault to not testing the app on iPad in 2x emulation, but this a bug in Sencha Touch...

Hi Mitch, the issue is with webview, in safari everything work as expected,
This happen only when you compile an app with xCode for iPhone (for iPhone only, not universal app), then as you know, you have to test the app also on iPad because the app MUST work on iPad too or the app is rejected.
In this case (when running on iPad and emulating the iPhone webview) Ext.is.iOS return false.
I can suppose that this issue has to do with the iPad emulation, i dont know if they use a particular webview, in this case, that prevent Ext.is.iOS to return true.
The same app running on iPhone work as expected.
To summarize:
app for iPhone is working as expected, but not on iPad
universal app is working as expected both on iPhone and iPad