<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLDeviceOrientation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:@E@CLDeviceOrientation"
  },
  "title" : "CLDeviceOrientation"
}
-->

# CLDeviceOrientation

Constants indicating the physical orientation of the device.

```
enum CLDeviceOrientation
```

## Topics

### Device Orientations

[`CLDeviceOrientation.unknown`](/documentation/CoreLocation/CLDeviceOrientation/unknown)

The orientation is currently not known.

[`CLDeviceOrientation.portrait`](/documentation/CoreLocation/CLDeviceOrientation/portrait)

The device is in portrait mode, with the device held upright and the home button at the bottom.

[`CLDeviceOrientation.portraitUpsideDown`](/documentation/CoreLocation/CLDeviceOrientation/portraitUpsideDown)

The device is in portrait mode but upside down, with the device held upright and the home button at the top.

[`CLDeviceOrientation.landscapeLeft`](/documentation/CoreLocation/CLDeviceOrientation/landscapeLeft)

The device is in landscape mode, with the device held upright and the home button on the right side.

[`CLDeviceOrientation.landscapeRight`](/documentation/CoreLocation/CLDeviceOrientation/landscapeRight)

The device is in landscape mode, with the device held upright and the home button on the left side.

[`CLDeviceOrientation.faceUp`](/documentation/CoreLocation/CLDeviceOrientation/faceUp)

The device is held parallel to the ground with the screen facing upwards.

[`CLDeviceOrientation.faceDown`](/documentation/CoreLocation/CLDeviceOrientation/faceDown)

The device is held parallel to the ground with the screen facing downwards.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)