---
title: CLDeviceOrientation.portrait
framework: corelocation
role: symbol
role_heading: Case
path: corelocation/cldeviceorientation/portrait
---

# CLDeviceOrientation.portrait

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

## Declaration

```swift
case portrait
```

## See Also

### Device Orientations

- [CLDeviceOrientation.unknown](corelocation/cldeviceorientation/unknown.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)
