Instance Property

activeMaxExposureDuration

The maximum exposure duration, in seconds, defined in the auto-exposure algorithm.

Declaration

@property(nonatomic) CMTime activeMaxExposureDuration;

Discussion

When you set a new session preset on your capture session or select a different activeFormat on your capture device, you can query or observe changes to activeMaxExposureDuration.

You can override this property at any time, to any value in the activeFormat property’s minExposureDuration and maxExposureDuration range. Changes are reflected immediately while the session is running, with no graph rebuilding. You can also set the property to kCMTimeInvalid to return to the default value. For example, one case in which you'd override the auto-exposure algorithm's maximum exposure duration is if you want shorter exposure than your frame rate. If you need to freeze motion by exposing for 1/40th of a second but still capture 30 frames a second, then a manual override is needed.

See Also

Managing Image Exposure

exposureDuration

The length of time over which exposure takes place.

- setExposureModeCustomWithDuration:ISO:completionHandler:

Locks the exposure duration and ISO at the specified values.

exposureTargetOffset

The metered exposure level's offset from the target exposure value, in EV units.

exposureTargetBias

Bias applied to the target exposure value, in EV units.

minExposureTargetBias

The minimum supported exposure bias, in EV units.

maxExposureTargetBias

The maximum supported exposure bias, in EV units.

- setExposureTargetBias:completionHandler:

Sets the bias to be applied to the target exposure value.

AVCaptureExposureTargetBiasCurrent

A special constant representing the current exposure bias value.

AVCaptureExposureDurationCurrent

A special constant representing the current exposure duration setting.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software