編集

次の方法で共有


CLDeviceOrientation Enum

Definition

An enumeration whose values represent the device's physical orientation.

public enum CLDeviceOrientation
type CLDeviceOrientation = 
Inheritance
CLDeviceOrientation

Fields

Name Value Description
Unknown 0

The device's orientation is unavailable.

Portrait 1

The device is in an upright position, with the home button towards the ground.

PortraitUpsideDown 2

The device is in an upright position, with the home button towards the sky.

LandscapeLeft 3

The device is in an upright position, with the home button to the right.

LandscapeRight 4

The device is in an upright position, with the home button to the left.

FaceUp 5

The device is parallel to the ground and the face is pointing towards the sky.

FaceDown 6

The device is parallel to the ground and the face is pointing towards the ground.

Applies to