If you are using the beta versions of the sdk you can put a file in your project directory called build.settings that allows you to make entries in your info.plist and to change the default orientation. For instance, to default to landscape left you’d do:
settings = {
orientation = {
default = “landscapeLeft”
}
}
The available values are “portraitUpsideDown”, “portrait”, “landscapeRight” and of course “landscapeLeft”. Note that this will currently LOCK the device to this orientation since an orientation change event to Corona is not the same as overriding shouldRotateToInterfaceOrientation or shouldAutorotateToInterfaceOrientation. This means that if you default to a certain orientation and you use any native widgets, they will be displayed in that orientation. Note also that the web popup doesn’t respect the default orientation and will always be in portrait mode.
- Nick [import]uid: 70 topic_id: 972 reply_id: 2365[/import]