Hi, lately I’ve been testing my game on my iPhone 5, the only problem I’m facing is that; in the corona simulator the game fits well to the screen ( I’m viewing as iPhone 5 ), but when launching the game on my iPhone 5, there are black bars on the bottom of the screen, and the top, I can’t seem to solve it because the simulator doesn’t show that, I tried many config settings, but seems like I can’t get it working well :\
here’s my config.lua file:
-- For iPads if system.getInfo("model") == "iPad" or system.getInfo("model") == "iPad Simulator" then application = { content = { width = 360, height = 480, scale = "zoomEven", audioPlayFrequency="44100", fps = 60, imageSuffix = { ["@2x"] = 2, ["@4x"] = 4, } } } -- For "tall" sizes (iPhone 5 and new iTouch) elseif display.pixelHeight \> 960 then application = { content = { width = 320, height = 568, scale = "zoomEven", audioPlayFrequency="44100", fps = 60, imageSuffix = { ["@2x"] = 1.5, } } } else -- For traditional sizes (iPhone 4S & below, old iTouch) application = { content = { width = 320, height = 480, scale = "zoomEven", audioPlayFrequency="44100", fps = 60, imageSuffix = { ["@2x"] = 2, } } } end