Contents

livePhotoMovieFileURL

A URL at which to write Live Photo movie output.

Declaration

var livePhotoMovieFileURL: URL? { get set }

Discussion

Live Photos capture both a still image and a short movie, which the system presents 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 don’t meet these requirements, that method raises an exception.

See Also

Configuring Live Photo settings