Setup landscape in Moai Games For iOS Devices
Select the class:
Verify the following function exists with the correct landscape orientations:
In MoaiAppDelegate.mm change the line
mMoaiView = [[ MoaiView alloc ] initWithFrame:[ UIScreen mainScreen ].bounds ];
Lastly, select your targets and go to the Summary tab. There are sections for iPhone/iPod deployment and iPad deployment. In both of these, find the Supported Device Orientations section and choose your preferred landscape, or both if you want iOS to rotate the view for you. Make sure you have both orientations called out to return true from Step 1 if you want iOS to auto rotate.
You should now be good to go with landscape!