Orienattion change error

The following is the code for my build .settings.I want my app to be viewed in landscapeRight and landscapeLeft .But the problem is that it only displays in the default view .It does not changes to landscapeLeft when i rotate my ipad.can anybody help me Please?

[code]
settings =
{
orientation =
{
default = “landscapeRight”
content = “landscapeRight”,
supported =
{
“landscapeRight” , “landscapeLeft”,
},
},

iphone =
{
plist =
{

UIInterfaceOrientation = “UIInterfaceOrientationLandscapeRight”,

UISupportedInterfaceOrientations =
{
“UIInterfaceOrientationLandscapeLeft”,
“UIInterfaceOrientationLandscapeRight”
},
UIPrerenderedIcon = true,
UIApplicationExitsOnSuspend = true,
UIStatusBarHidden=false,
},
}

}

[code] [import]uid: 82446 topic_id: 17236 reply_id: 317236[/import]

Try removing

content = “landscapeRight”

I think it locks the corona canvas to landscapeRight
[import]uid: 13632 topic_id: 17236 reply_id: 65069[/import]

FYI.
If you want to have orientation change with animation like in a native app you can check this code out;
http://developer.anscamobile.com/code/proper-orientation-rotation-animation [import]uid: 70847 topic_id: 17236 reply_id: 65096[/import]

Here is my setting. This build setting already can handle portraits and landscape.

i didn’t use this portion in my build setting. What is this function for?
+++++++++++++++++++++++++
UIInterfaceOrientation = “UIInterfaceOrientationLandscapeRight”,

UISupportedInterfaceOrientations =
{
“UIInterfaceOrientationLandscapeLeft”,
“UIInterfaceOrientationLandscapeRight”
},

+++++++++++++++++++++++++
My working sample attached below:
________________________________________________________________________________
settings =
{
orientation =
{
default = “portraits”,

supported = { “landscapeLeft”, “landscapeRight”, “portraits”,“portraitUpsideDown” },
},

iphone =
{
plist =
{
UIPrerenderedIcon = true,
UIApplicationExitsOnSuspend = false,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”
},
},
}
} [import]uid: 94613 topic_id: 17236 reply_id: 65387[/import]

Thanks for the help and it is working fine that too along with the transition effects…You man rock…:slight_smile: [import]uid: 82446 topic_id: 17236 reply_id: 65398[/import]