- Home /
iPhoneKeyboard question... again!
Hello,
In my game, I want to support both LandscapeLeft and LandscapeRight orientations.
As I read in other posts, I set autorotate to:
iPhoneKeyboard.autorotateToLandscapeLeft = true; iPhoneKeyboard.autorotateToLandscapeRight = true; iPhoneKeyboard.autorotateToPortrait = false; iPhoneKeyboard.autorotateToPortraitUpsideDown = false;
I have these lines of code in Update() to change orientation:
if ((Input.deviceOrientation == DeviceOrientation.LandscapeLeft) && (iPhoneSettings.screenOrientation != iPhoneScreenOrientation.LandscapeLeft)) { iPhoneSettings.screenOrientation = iPhoneScreenOrientation.LandscapeLeft; }
and same thing for iPhoneScreenOrientation.LandscapeRight...
My question is : How can I remove the black frame animation that appears during the keyboard rotation but still have the keyboard in the correct orientation when I call iPhoneKeyboard.Open("") ?
Thanks!
Simon
Your answer
Follow this Question
Related Questions
How to have animation when orientation changes 1 Answer
Unity iPhone - Changing to Landscape in code 4 Answers
Splash screen orientation - iOS 2 Answers
Cubemap orientation fixed on device but moves in player or editor 0 Answers
Normal Keyboard for iOS 0 Answers