I think some of you guys are understanding this wrong. I’ll try to explain it better.
-
My app is built to be scalable from the beginning. From my current code base, it dynamically scales to all Android sizes, iOS and Kindle.
-
If you want to remove the black bars on the sides, just add a “Default-568h.png” image into your project, with dimensions of 1136x640. Once you add this new default.png image, iOS will recognize that your app “supports” the iPhone 5 and then *it will let Corona do its dynamic scaling*. Without this default.png image, Corona will NOT use dynamic scaling and you’ll be stuck with the black bars.
Here’s a comparison showing what happens when you add the new default.png image (NO CODE CHANGES WERE MADE):
Without Default-568h.png: https://dl.dropbox.com/u/3371101/WithoutNewDefault.tiff
With Default-568h.png: https://dl.dropbox.com/u/3371101/WithNewDefaultSize.tiff
Once you’ve got your app scaling properly, this is where the next problem comes. I think this is a Corona bug, but I’m not sure:
At the left and right edge where the black bars used to be, there are no touch events being sent. So even though all the content scales perfectly, for some reason, the edges become “dead zones” and no touch inputs can be received from there. The middle portion of the screen works perfectly, it’s just the part that previously used to be letterboxed.
I hope this clears some things up for you! [import]uid: 51654 topic_id: 30904 reply_id: 123670[/import]