iPhoneKeyboard.autorotateToPortrait Manual     Reference     Scripting  
Scripting > Runtime Classes > iPhoneKeyboard
iPhoneKeyboard.autorotateToPortrait

static var autorotateToPortrait : bool

Description

Specifies whether the keyboard should be automatically rotated to Portrait orientation to match orientation of the device.

// Disallow keyboard to autorotate to Portrait orientation
function Start() {
iPhoneKeyboard.autorotateToPortrait = false;
}