Instance Property


The stabilization mode most appropriate for use with the connection.


var preferredVideoStabilizationMode: AVCaptureVideoStabilizationMode { get set }


This property applies only to capture connections involving video. On devices where the video stabilization feature is supported, only a subset of available source formats may be stabilized.

Set this property to a value other than to enable stabilization whenever the specified mode is available. Enabling video stabilization introduces additional latency into the video capture pipeline and may consume more system memory depending on the stabilization mode and format. If the preferred stabilization mode isn't available, the activeVideoStabilizationMode property is set to Setting this property to chooses an appropriate mode for the capture format and frame rate. Use Key-value observing with the activeVideoStabilizationMode property to determine which stabilization mode is in use.

The default value is

See Also

Managing the Video Stabilization Settings

var isVideoStabilizationSupported: Bool

A Boolean value that indicates whether this connection supports video stabilization.

var activeVideoStabilizationMode: AVCaptureVideoStabilizationMode

The stabilization mode currently active for the connection.

var isVideoStabilizationEnabled: Bool

A Boolean value that indicates whether video stabilization is active for the connection.

var enablesVideoStabilizationWhenAvailable: Bool

A Boolean value that indicates whether the system should enable video stabilization when it is available.