---
title: isCameraSensorOrientationCompensationEnabled
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturestillimageoutput/iscamerasensororientationcompensationenabled
---

# isCameraSensorOrientationCompensationEnabled

## Declaration

```swift
var isCameraSensorOrientationCompensationEnabled: Bool { get set }
```

## Discussion

Discussion A BOOL value indicating that still image buffers will be rotated to match the sensor orientation of earlier generation hardware. Default is YES when cameraSensorOrientationCompensationSupported is YES. Set to NO if your app does not require sensor orientation compensation.

## See Also

### Configuring orientation compensation

- [isCameraSensorOrientationCompensationSupported](avfoundation/avcapturestillimageoutput/iscamerasensororientationcompensationsupported.md)
