---
title: CLDeviceOrientation
framework: corelocation
role: symbol
role_heading: Enumeration
path: corelocation/cldeviceorientation
---

# CLDeviceOrientation

Constants indicating the physical orientation of the device.

## Declaration

```swift
enum CLDeviceOrientation
```

## Topics

### Device Orientations

- [CLDeviceOrientation.unknown](corelocation/cldeviceorientation/unknown.md)
- [CLDeviceOrientation.portrait](corelocation/cldeviceorientation/portrait.md)
- [CLDeviceOrientation.portraitUpsideDown](corelocation/cldeviceorientation/portraitupsidedown.md)
- [CLDeviceOrientation.landscapeLeft](corelocation/cldeviceorientation/landscapeleft.md)
- [CLDeviceOrientation.landscapeRight](corelocation/cldeviceorientation/landscaperight.md)
- [CLDeviceOrientation.faceUp](corelocation/cldeviceorientation/faceup.md)
- [CLDeviceOrientation.faceDown](corelocation/cldeviceorientation/facedown.md)

### Initializers

- [init(rawValue:)](corelocation/cldeviceorientation/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Running the heading service

- [startUpdatingHeading()](corelocation/cllocationmanager/startupdatingheading().md)
- [stopUpdatingHeading()](corelocation/cllocationmanager/stopupdatingheading().md)
- [dismissHeadingCalibrationDisplay()](corelocation/cllocationmanager/dismissheadingcalibrationdisplay().md)
- [headingFilter](corelocation/cllocationmanager/headingfilter.md)
- [kCLHeadingFilterNone](corelocation/kclheadingfilternone.md)
- [CLLocationDegrees](corelocation/cllocationdegrees.md)
- [headingOrientation](corelocation/cllocationmanager/headingorientation.md)
