Contents

activeVideoStabilizationMode

The connection’s current stabilization mode.

Declaration

var activeVideoStabilizationMode: AVCaptureVideoStabilizationMode { get }

Discussion

The property only applies to a video connection, and it explicitly indicates whether it’s using stabilization, which means the value is never AVCaptureVideoStabilizationMode.auto.

You can monitor this property to detect when the connection applies video stabilization to its video data with key-value observation. See NSKeyValueObserving and Using Key-Value Observing in Swift for more information.

See Also

Stabilizing video