Landscape mode in the simulator

I’ve got my build.settings set up right for landscape but in the simulator it always launches as portrait and on rotation it doesn’t actually adjust.

Can anyone offer any advice? [import]uid: 10144 topic_id: 3264 reply_id: 303264[/import]

Got it working, however adding the suspend on exit thingy-majiggy makes it break. I could be doing it wrong but figured I’d say so here anyway in case anyone else ends up doing the same thing. [import]uid: 10144 topic_id: 3264 reply_id: 9708[/import]

Can you post what you added (the suspend on exit code)? [import]uid: 5712 topic_id: 3264 reply_id: 9755[/import]

settings = { orientation = { default = "portrait", }, iphone = { plist= { UIStatusBarHidden=true, UIApplicationExitsOnSuspend = true }, }, }

Of course the default was landscapeRight, not portrait. I also tried a few different things re the default and other supported orientations - and I tried it with and without the status bar and suspend lines. [import]uid: 10144 topic_id: 3264 reply_id: 9770[/import]

-- build.settings  
  
settings =  
{  
 android =  
 {  
 versionCode = "1"  
 },  
  
 orientation =  
 {  
 default = "portrait",   
 content = "portrait",  
 supported =   
 {   
 "portrait", "portraitUpsideDown",   
 },   
 },  
}  

you missed the supported section. [import]uid: 5712 topic_id: 3264 reply_id: 9798[/import]

Would this be the code used to set the corona simulator to landscape on startup? Is there a way to do that?

EDIT: Acutally i have figured out most of this but I can’t seem to figure out how to keep the background fixed when rotating the phone…I don’t want it to reset to an upright position every time the phone is rotated…have any advice mike? [import]uid: 14864 topic_id: 3264 reply_id: 19616[/import]

Digthiz - it actually starts up based on your build.settings - so it can start in Landscape.

I know it’s confusing. Email me - my name @ gmail.com and I will send you a build.settings file to drop in that should fix it.

Ahhhh, this was one of my first posts here. Weird to think how far I’ve come since then ^-^;

Peach :slight_smile: [import]uid: 10144 topic_id: 3264 reply_id: 19666[/import]