Contents

isCinematicVideoCaptureEnabled

A BOOL value specifying whether the Cinematic Video effect is being applied to any movie file output, video data output, metadata output, or video preview layer added to the capture session.

Declaration

var isCinematicVideoCaptureEnabled: Bool { get set }

Discussion

Default is false. Set to true to enable support for Cinematic Video capture.

When you set this property to true, your input’s associated focusMode changes to AVCaptureFocusModeContinuousAutoFocus. While Cinematic Video capture is enabled, you are not permitted to change your device’s focus mode, and any attempt to do so results in an NSInvalidArgumentException. You may only set this property to true if isCinematicVideoCaptureSupported is true.

See Also

Configuring Cinematic video capture