---
title: unifiedAutoExposureDefaultsEnabled
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedeviceinput/unifiedautoexposuredefaultsenabled
---

# unifiedAutoExposureDefaultsEnabled

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

## Declaration

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

## Discussion

Discussion You may set the value of a capture device’s activeFormat in two ways: Set it directly using one of the formats in the device’s formats property. The capture session sets it on your behalf when you set its 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, maxFrameRate, and maxExposureDuration. You can set this property to 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 false. note: Manually setting the device’s minFrameRate, maxFrameRate, or maxExposureDuration overrides the device defaults, even if you set this property to true.

## See Also

### Configuring video properties

- [videoMinFrameDurationOverride](avfoundation/avcapturedeviceinput/videominframedurationoverride.md)
