-
6 Nov 2012 4:05 AM #1
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" />
-
Best Answer Posted by LostMan
dont use this "height=device-height" after that resize will work correctly.
-
6 Nov 2012 7:43 AM #2
dont use this "height=device-height" after that resize will work correctly.
-
7 Nov 2012 5:00 AM #3
Thanks for the confirmation. I had the same thought but didn't bother testing until you confirmed it.
-
29 Nov 2012 7:49 PM #4
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
-
30 Nov 2012 4:35 PM #5
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...


Reply With Quote