1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Pakistan
    Posts
    229
    Answers
    10
    Vote Rating
    1
    umr.ashrf is on a distinguished road

      0  

    Default Answered: Sencha Touch 2.0.1 on iPad with iOS 6.0.1 Orientation Resize Issue

    Answered: Sencha Touch 2.0.1 on iPad with iOS 6.0.1 Orientation Resize Issue


    I have my app ready and when I tested it on iPad running iOS 6.0.1 with orientation mode enabled, the resize doesn't work correctly.

    If I start app in portrait mode, it's good but as soon as it goes to landscape, it doesn't resize for landscape and stays the viewport to the size of portrait. The same goes for the other side. If I start my app in Landscape, it's good but as soon as it goes to portrait, it doesn't resize and things go out of screen.

    I'm using this viewport config.

    Code:
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />

  2. dont use this "height=device-height" after that resize will work correctly.

  3. #2
    Sencha User
    Join Date
    Aug 2012
    Location
    Istanbul, Turkiye
    Posts
    16
    Answers
    3
    Vote Rating
    0
    LostMan is on a distinguished road

      0  

    Default


    dont use this "height=device-height" after that resize will work correctly.

  4. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Pakistan
    Posts
    229
    Answers
    10
    Vote Rating
    1
    umr.ashrf is on a distinguished road

      0  

    Default


    Thanks for the confirmation. I had the same thought but didn't bother testing until you confirmed it.

  5. #4
    Sencha User
    Join Date
    Nov 2012
    Posts
    34
    Vote Rating
    0
    Jsri is on a distinguished road

      0  

    Default


    Hi,
    Im using Sencha 2.1 with phoneGap.
    My issue is similar. The charts appear zoomed out in portrait mode and looks perfect in landscape mode in iPad.

    Do you know the solution for this?

    Thanks

  6. #5
    Sencha User
    Join Date
    Aug 2012
    Location
    Istanbul, Turkiye
    Posts
    16
    Answers
    3
    Vote Rating
    0
    LostMan is on a distinguished road

      0  

    Default


    sorry but i dont know anything about that charts because i dont need to use that But i think it is about showing charts in portrait mode the charts doest show fully so it need to scale the chart but when u change to landscape chart show it self fully and no need to scale it self...

Thread Participants: 2

Tags for this Thread