Hi,
I have a problem with the orientation of the keyboard on iOS4 and iPhone. I use the following code in a Start function (I’ve tried in Awake as well, same problem):
iPhoneKeyboard.autorotateToPortrait = false;
iPhoneKeyboard.autorotateToPortraitUpsideDown = false;
iPhoneKeyboard.autorotateToLandscapeRight = true;
iPhoneKeyboard.autorotateToLandscapeLeft = false;
When I launch the application and tap the GUIText input, if I did not rotate the iPhone to the right, the keyboard shows first in Portrait mode.
And then, if I rotate the iPhone to the right, the keyboard rotates to the right and from then on, won’t rotate back to any other orientation (which is what I want).
Is there a way to set the Keyboard orientation from the start, so that when it first appears, it displays in the proper orientation?
I’ve searched the forum and found a couple of threads on the subject, but did not find anything addressing this specific issue.
Any help or information welcomed.
Thanks,