Unity is set to LandScape right, Xcode is set to landscape left. Only like this will the game appear correctly. Now, whenever the keyboard appears, or if Keyboard::init is called in appcontroller.m, the iOS apps view switches to portrait.
How can this be solved?
Unity 3.3 Xcode 3.2.6 iOS SDK 4.3
I'm already calling
iPhoneKeyboard.autorotateToPortrait = false; iPhoneKeyboard.autorotateToPortraitUpsideDown = false; iPhoneKeyboard.autorotateToLandscapeLeft = false; iPhoneKeyboard.autorotateToLandscapeRight = false;
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
No one has followed this question yet.
How can I limit my app to specific orientations?
Is is possible for Unity 3D smartphone app to support multiple orientations
Unity SplashScreen wrong orientation iOS
Avoid having Unity export landscape launch images
iOS Keyboard makes performance suffer