Hello,
I have developed an app using an older version of corona (before the branded splash screen was enforced). I finally decided to download the latest version of Corona SDK and I am experiencing different letterbox scaling.
I have not changed any code, I have simply downloaded the newest build for the SDK.
Attached are screenshots from both simulator and my iPhone 7+ build.
I have tried using the ‘adaptive’ mode for scaling, but that seems to dramatically resize every UI element within corona. Ideally, I would like to stick with letterbox and have it work in the same way pre-update.
I have also copied my config.lua file.
[lua]local aspectRatio = display.pixelHeight / display.pixelWidth
application = {
content = {
width = aspectRatio > 1.5 and 800 or math.floor( 1200 / aspectRatio ),
height = aspectRatio < 1.5 and 1200 or math.floor( 800 * aspectRatio ),
scale = “letterbox”,
fps = 30,
imageSuffix =
{
["@2x"] = 2.0,
["@3x"] = 3.0
}
},
notification =
{
iphone =
{
types = { “badge”, “sound”, “alert” }
},
google =
{
projectNumber = “XXXXXXXXXXXXX”
},
},
}
[/lua]
Does anyone have any experience that might help me in this situation?
Thanks,
Brian