My app runs perfect on the simulator for various devices. I also tested on real Galaxy Tab and have no problem.
But when I tried my app to run in iPhone 5 device today, I found out the app doesn’t use all the longer screen (It has empty spaces in the top & the bottom, only occupying the length of a iPhone 4)
I tried both “zoomEven” & “letterbox” in config.lua scale option.
And my app uses “display.screenOriginY” as the starting Y to calculate positions. (In letterbox, the value is -44 as I printed it out)
What else would I do wrong? Please shed some light on this.
Anything, thanks!
BTW, my config.lua
application = { content = { width = 320, height = 480, scale = "zoomEven", xAlign = "center", yAlign = "center", imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, fps = 30, } }