<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDeviceInput/unifiedAutoExposureDefaultsEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDeviceInput(py)unifiedAutoExposureDefaultsEnabled"
  },
  "title" : "unifiedAutoExposureDefaultsEnabled"
}
-->

# unifiedAutoExposureDefaultsEnabled

A Boolean value that indicates whether the input enables unified auto-exposure defaults.

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

## Discussion

You may set the value of a capture device’s [`activeFormat`](/documentation/AVFoundation/AVCaptureDevice/activeFormat) in two ways:

1. Set it directly using one of the formats in the device’s [`formats`](/documentation/AVFoundation/AVCaptureDevice/formats) property.
2. The capture session sets it on your behalf when you set its [`sessionPreset`](/documentation/AVFoundation/AVCaptureSession/sessionPreset) property.

Depending on the device and format, you may configure the default auto exposure behavior differently when you use one method or the other, resulting in non-uniform auto exposure behavior. Auto exposure defaults include [`minFrameRate`](/documentation/AVFoundation/AVFrameRateRange/minFrameRate), [`maxFrameRate`](/documentation/AVFoundation/AVFrameRateRange/maxFrameRate), and [`maxExposureDuration`](/documentation/AVFoundation/AVCaptureDevice/Format/maxExposureDuration). You can set this property to <doc://com.apple.documentation/documentation/Swift/true> to ensure that the system applies consistent default behaviors to the device regardless of the way you set the active format.

The default value is <doc://com.apple.documentation/documentation/Swift/false>.

> Note:
> Manually setting the device’s ``doc://com.apple.avfoundation/documentation/AVFoundation/AVFrameRateRange/minFrameRate``, ``doc://com.apple.avfoundation/documentation/AVFoundation/AVFrameRateRange/maxFrameRate``, or ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureDevice/Format/maxExposureDuration`` overrides the device defaults, even if you set this property to <doc://com.apple.documentation/documentation/Swift/true>.

---

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)