Copy link to clipboard
Copied
Hello,
I am attempting to make gui adjustments based on the values returned by flash.system.Capabilities. However when I test on the iPhone5 in portrait mode the values returned are screenResolutionX: '640' and screenResolutionY: '960'. I am compiling with air 3.5 in renderMode: 'gpu' and have set the swf metadata tp widthPercent: 100% and heightPercent: 100%. Am I doing something incorrectly?
Thanks
CJ
To get the right dimensions you will need to have included a splash screen for the iPhone 5 size, with a name of "Default-568h@2x.png". That image would be 640x1136, and when iOS sees it, it then knows that you want the iPhone 5 to use the whole screen.
Copy link to clipboard
Copied
To get the right dimensions you will need to have included a splash screen for the iPhone 5 size, with a name of "Default-568h@2x.png". That image would be 640x1136, and when iOS sees it, it then knows that you want the iPhone 5 to use the whole screen.