Okay so the next game I’m releasing supports iPhone 5 and iOS6. I have my config.lua file all set up and the UI elements are aligning up properly. The config.lua accommodates all the (recent) iOS devices: iPad, iPad retina, iPhone 3gs, iPhone 4 and iPhone 5:
EDIT: simpler and takes into account the new iTouch dimensions
[lua]-- 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 = 30,
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 = 30,
imageSuffix = {
["@2x"] = 2,
}
}
}
else – For traditional sizes (iPhone 4S & below, old iTouch)
application = {
content = {
width = 320,
height = 480,
scale = “zoomEven”,
audioPlayFrequency=“44100”,
fps = 30,
imageSuffix = {
["@2x"] = 2,
}
}
}
end[/lua]
So with this, the app is doing fine in the simulator and my devices (no iPhone5 yet)
My question is, do I still need that “tall” splash image Default-568h@2x.png I read in the Corona blog to support the tall mode?? [import]uid: 144908 topic_id: 31095 reply_id: 331095[/import]