As stated in the thread subject, when I open up my app with a live build, I see it with black bars at the top and at the bottom but this does not happen with a regular build. Since my objects position themselves relative to the edges, everything looks fine but I would not like this to happen if possible. I would like the live builds to mimic what my app would look like in a real build as much as possible.
Note: The canvas is not stretched or shrunk; it would seem like the display.height is reduced and the app is centered.
What could be causing this?
OSX El Capitan 10.11.6
Corona: 2017.3054 (2017.3.9)
Corona Live server: Version 1.0 (1)
Tested on an iPhone 6S Plus.
My config.lua (which I use for pretty much everything)
local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio \> 1.5 and 320 or math.ceil( 480 / aspectRatio ), height = aspectRatio \< 1.5 and 480 or math.ceil( 320 \* aspectRatio ), scale = "letterBox", fps = 60, imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0 }, }, }