Contents

isAutoStillImageStabilizationEnabled

A Boolean value that specifies whether captures use automatic image stabilization.

Declaration

var isAutoStillImageStabilizationEnabled: Bool { get set }

Discussion

The default setting is true, unless you are capturing a RAW photo (By definition, RAW photos are unprocessed, and image stabilization involves processing the captured image).

When you enable this setting, the device automatically applies stabilization in low-light conditions to counteract hand shake. Automatic stabilization always includes digital image stabilization, and may also include optical lens stabilization, based on the current device.

Automatic image stabilization is not compatible with the AVCaptureDevice.FlashMode.on setting. If you explicitly enable the flash, the photo output ignores your image stabilization setting, and the isStillImageStabilizationEnabled property of the AVCaptureResolvedPhotoSettings object provided to your photo capture delegate is always false.

See Also

Configuring photo settings