Hello,
I created an app for iphones and androids.
I generated a build for android and it worked perfectly, same in the simulator of the crown.
But when I went to test on iphone, the application was not distorted (other than the iphone corona simulator)
Why did this happen?
Below photo of iphone concurrent corona and then iphone xcode simulator (https://imgur.com/a/68oP1)
Also the config.lua file
if string.sub(system.getInfo("model"),1,4) == "iPad" then application = { content = { width = 750, height = 1280, scale = "letterbox", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, notification = { iphone = { types = { "badge", "sound", "alert" } } } } elseif string.sub(system.getInfo("model"),1,2) == "iP" and display.pixelHeight \> 960 then application = { content = { width = 750, height = 1280, scale = "zoomStretch", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, notification = { iphone = { types = { "badge", "sound", "alert" } } } } elseif string.sub(system.getInfo("model"),1,2) == "iP" then application = { content = { width = 835, height = 1380, scale = "zoomStretch", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, notification = { iphone = { types = { "badge", "sound", "alert" } } } } elseif display.pixelHeight / display.pixelWidth \> 1.72 then application = { content = { width = 800, height = 1440, scale = "zoomStretch", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, } else application = { content = { width = 800, height = 1380, scale = "zoomStretch", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, notification = { iphone = { types = { "badge", "sound", "alert" } } } } end