I think I’m loosing my mind…
I am about 70% finished with my Corona App (I thought while looking at the simulator) and wanted to try it live on my shiny new iPad 3 (or New iPad). Now somehow I cannot get the scaling and/or positioning right. I have read about everything I can find on the blog and forums, but I am lost…
I have stripped everything from my App until I only got this:
[lua]display.setStatusBar( display.HiddenStatusBar )
headerContainer=display.newGroup()
headerBackground = display.newRect(headerContainer, 0, 0, 1024, 32)
headerBackground:setFillColor(55, 55, 55) [/lua]
The simulator shows a nice grey box at the top of my screen, the iPad nothing. I think (know) the box is somewhere to the left and top of / outside the screen, but how can I get it where it belongs? I know more people have / had scaling problems, but I have build the App 30 times with different settings, and I just don’t know where to look anymore.
I really need your help!
Thanks!
My config.lua file
[lua]application =
{
content =
{
width = 768,
height = 1024,
scale = “letterbox”,
imageSuffix =
{
["@2x"] = 2, – images with “@2x” appended will be used for iPad 3
}
}
}[/lua]
I’m using OS X 10.7.4, Xcode 4.3.2 and Corona 2011.704 (2011.12.8) [import]uid: 151400 topic_id: 27313 reply_id: 327313[/import]
