Hello everyone,
I am developing a landscape game and at some point it has now stopped rotating the view when I turn my iphone the other way. The corners of the screen rotate like it should, however the game itself stays in its original orientation. Here is my build.settings file:
settings =
{
orientation =
{
default = "landscapeRight",
content = "landscapeRight",
supported =
{
"landscapeLeft", "landscapeRight",
},
},
androidPermissions =
{
"android.permission.INTERNET"
},
iphone =
{
plist =
{
UIApplicationExitsOnSuspend = false,
UIPrerenderedIcon=true,
UIStatusBarHidden=true,
CFBundleIconFile = "Icon.png",
CFBundleIconFiles = {
"Icon.png" ,
"Icon@2x.png" ,
"Icon-72.png" ,
"Icon-Small-50.png" ,
"Icon-Small.png" ,
"Icon-Small@2x.png"
},
CFBundleDisplayName = "Game Name",
},
},
}
Does anyone have any idea why it is animating the rotation but not actually rotating the game? [import]uid: 31262 topic_id: 12754 reply_id: 312754[/import]
Here is the code in question in case someone is searching for it in the future: