Config/settings for iPad-only app?

I'm just using Corona for the first time and considering it for an iPad-only project.

I can't find any information on setting up for an iPad-only app, only Universal apps. Should config.lua remain as:

application =
{
content =
{
width = 320,
height = 480,
scale = "zoomEven"
}
}

or include:

application =
{
content =
{
width = 1024,
height = 768,
scale = "zoomEven"
}
}

Many thanks!

All you need is this part;

1
2
3
4
5
6
7
8
9
application =
{
content =
{
width = 768,
height = 1024,
scale = "zoomEven"
}
}

Superb, thanks! I figured as much but couldn't find it documented anywhere.

Are the width and height always defined as if the device is portrait?

Hey there, no worries :)

And yes - always set them as the real height and width. (When you choose to only support landscape, the app "knows" it's on it's side ;))

Peach

Perfect, thanks!

views:1461 update:2011/9/25 12:40:18
corona forums © 2003-2011