<!--
{
  "availability" : [
    "iOS: 26.0.0 - 10.0.0",
    "iPadOS: 26.0.0 - 10.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureStillImageOutput/isCameraSensorOrientationCompensationEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureStillImageOutput(py)cameraSensorOrientationCompensationEnabled"
  },
  "title" : "isCameraSensorOrientationCompensationEnabled"
}
-->

# isCameraSensorOrientationCompensationEnabled

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

## Discussion

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

---

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)