2
votes

My application on IOS created with Adobe Air is displaying random black bars on the top and bottom of the screen using an iPhone 5 and all other 4-inch devices.

I have exported the same app on Android, Desktop and HTML and the aspect ratio is rendered correctly. I've also tried changing the stage dimensions to match the iPhone's screen resolution to no avail.

I have enabled high resolution in Adobe Flash CS5 and also targeted the iPhone exclusively. My render method is direct, and yet nothing seems to make the borders disappear. This is what it looks like:

enter image description here

I also tried creating a blank Adobe Air project, and the bars still come up regardless. I have used Adobe Air SDK 3.2, 3.4, and the latest SDK and nothing works. What is happening?

1

1 Answers

4
votes

You need to use the proper launch image for the device you're on. See here and here: iOS lauch image specs