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

static var autorotateToLandscapeRight : bool

Description

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

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