How to lock orientation AFTER app startup

My app supports landscape left and right orientations. However, once the up is initialized and the initial orientation selected, I’d like the orientation to lock and not change anymore.

Fore example if the user started the up with landscape left, it will stay landscape left for the runtime duration of the app.

Is there an easy way to do this? [import]uid: 33608 topic_id: 14253 reply_id: 314253[/import]

Apple insists that a user be able to use a landscape app in either landscape orientation; if you try to force it your app may be rejected. [import]uid: 52491 topic_id: 14253 reply_id: 52643[/import]

Thanks. So is there a way to let the user lock orientation with a software switch? [import]uid: 33608 topic_id: 14253 reply_id: 52707[/import]

Well, if a user wants to lock their orientation they can actually do that themselves either using the switch on the side of their device or an option in their dock. (It depends on their settings.) [import]uid: 52491 topic_id: 14253 reply_id: 52733[/import]

I’m interested in setting up a lock on the orientation one the game is starting…

Is it possible? [import]uid: 89239 topic_id: 14253 reply_id: 109377[/import]