View Full Version : MVC-Tutorial with PhoneGap

5 Feb 2011, 8:23 AM
Hi all,

I am new to Sencha Touch, but fall in love a little bit ;)
I followed the tutorial provided here: http://www.sencha.com/learn/Tutorial:A_Sencha_Touch_MVC_application_with_PhoneGap

All works well on simulator with device iPhone - but if I change the device to iPad I do not get alerts, and there is no Viewport loaded. For what I mean:

name: 'app',
launch: function() {
this.launched = true;
mainLaunch: function() {
if (!device || !this.launched) {return;}
console.log('main launched');
this.views.viewport = new this.views.Viewport();