Instance Property


A URL at which to write Live Photo movie output.


var livePhotoMovieFileURL: URL? { get set }


Live Photos capture both a still image and a short movie, which are presented together in user interfaces such as the Photos app. By default, this property’s value is nil, disabling Live Photo capture. Set this property to a file URL to capture Live Photos.

When you enable Live Photo capture, the following requirements apply:

The capture output validates these requirements when you call the capturePhoto(with:delegate:) method. If your settings and delegate do not meet these requirements, that method raises an exception.

See Also

Configuring Live Photo Settings

var livePhotoMovieMetadata: [AVMetadataItem]!

A dictionary containing metadata to be included in the Live Photo movie file.

var livePhotoVideoCodecType: AVVideoCodecType

The video codec to use for encoding the movie portion of Live Photo output.