Results 1 to 2 of 2

Thread: IPhone5 fullscreen on Native build

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    75
    Answers
    2
    Vote Rating
    1
      0  

    Default IPhone5 fullscreen on Native build

    My app is fullscreen to the typical extent for iphone 4 and below. Is there something I am missing. I have set the viewport like so:

    Ext.application({
    viewport: {
    autoMaximize: true,
    preventZooming: true,
    layout: {
    type: 'card'
    }
    },

    Then in launch I use this:

    launch: function() {


    var viewport = Ext.create('D2Map.view.MainView');


    // Initialize the main view
    Ext.Viewport.setActiveItem(viewport);
    }

    And still nothing.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    You shouldn't use autoMaximize when in a native build. autoMaximize can cause issues.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •