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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    You shouldn't use autoMaximize when in a native build. autoMaximize can cause issues.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •