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 navigate the site we have posted a site navigation 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.
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
How to active mobile keyboard ?
How to check if ipad has a physical (bluetooth) keyboard connected?