Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adobe Air application has black bars on iPhone 5 on iOS7

Tags:

ios

iphone

ios7

air

On iPhone 5s using iOS7 (not tested 6) my application has black bars on the left and right sides of the screen reducing the screen size, but is correctly opening fullscreen on every other iOS device I have so far tested. Screenshot below.

enter image description here

I have been searching and have not found any mention of this as a bug, have replicated on two iPhone 5's iOS7 devices though and is definitely a problem.

I'm using Air 3.9.

Has anyone encountered this / know how to fix?

like image 232
Tom Avatar asked Oct 21 '22 22:10

Tom


1 Answers

I had to include an extra iOS splash screen

[email protected]

There is a full list of images here: http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html, apparently a few Air apps have been getting rejected because they are missing the new iOS7 size images.

Example images:

Default.png - 320 x 480 - iPhone, standard resolution

[email protected] - 640 x 960 - iPhone, high resolution

[email protected] - 640 x 1136 - iPhone, high resolution, 16:9 aspect ratio

Default-Portrait.png - 768 x 1004 (AIR 3.3 and earlier) 768 x 1024 (AIR 3.4 and higher) - iPad, portrait orientation

[email protected] - 1536 x 2008 (AIR 3.3 and earlier) - 1536 x 2048 (AIR 3.4 and higher) - iPad, high resolution, portrait orientation

Default-PortraitUpsideDown.png - 768 x 1004 (AIR 3.3 and earlier)768 x 1024 (AIR 3.4 and higher) - iPad, upside down portrait orientation

[email protected] - 1536 x 2008 (AIR 3.3 and earlier)1536 x 2048 (AIR 3.4 and higher) - iPad, high resolution, upside down portrait orientation

Default-Landscape.png - 1024 x 768 - iPad, left landscape orientation

[email protected] - 2048 x 1536 - iPad, high resolution, left landscape orientation

Default-LandscapeRight.png - 1024 x 768 - iPad, right landscape orientation

[email protected] - 2048 x 1536 - iPad, high resolution, right landscape orientation

Default-example.png - 320 x 480 - example:// URL on standard iPhone

[email protected] - 640 x 960 - example:// URL on high-resolution iPhone

Default-example~ipad.png - 768 x 1004 - example:// URL on iPad in portrait orientations

Default-example-Landscape.png - 1024 x 768 - example:// URL on iPad in landscape orientations

like image 136
Tom Avatar answered Oct 29 '22 18:10

Tom