DeviceOrientation 设备方向
Enumeration
Describes physical orientation of the device as determined by the OS.
表示有操作系统确定的设备的物理方向。
If device is physically situated between discrete positions, as when (for example) rotated diagonally, system will report Unknown orientation.
如果设备在物理上处于独立位置之间,当旋转对角线时,系统将报告未知的方向。
Values值
-
The orientation of the device cannot be determined.
设备的方向不能被确定。 -
The device is in portrait mode, with the device held upright and the home button at the bottom.
设备在纵向模式,设备直立并home按钮在底部。 -
The device is in portrait mode but upside down, with the device held upright and the home button at the top.
设备在纵向模式,但颠倒一下,设备直立并home按钮在顶部。 -
The device is in landscape mode, with the device held upright and the home button on the right side.
设备在横向模式,设备直立并home按钮在右边。 -
The device is in landscape mode, with the device held upright and the home button on the left side.
设备在横向模式,设备直立并home按钮在左边。 -
The device is held parallel to the ground with the screen facing upwards.
设备保持与地面平行,屏幕的面向上。 -
The device is held parallel to the ground with the screen facing downwards.
设备保持与地面平行,屏幕的面向下。
最后修改:2011年5月8日 Sunday 16:35