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;
}
Page last updated: 2011-4-8