Threaded View

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    34
    Vote Rating
    0
    dakamojo is on a distinguished road

      0  

    Default Answered: Application not launching in UIWebView

    Answered: Application not launching in UIWebView


    I am developing my first Sencha Touch application. I started with the version 2 preview. My app.js script looks like this.

    Code:
    Ext.Loader.setConfig({ enabled: true });
    
    alert('flag 1');
    
    
    Ext.application({
        name: 'MyApp',
        
        launch: function() {
        	alert('launch');
        }
    });
    
    
    
    
    alert('flag 2');
    When accessing the app with Mobile Safari I get all three alerts. However, when accessing the app from a UIWebView embedded in a native application, only get two alerts. I do not get the alert in launch. It doesn't appear that the application object is getting created, or at least the launch function is getting called when the Sencha app is in a UIWebView.

  2. Disable viewport auto maximizing feature, like this:

    Code:
    Ext.application({
        viewport: {
            autoMaximize: false
        },
       ...
    });

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi