Instance Property

livePhotoMovieFileURL

A URL at which to write Live Photo movie output.

Declaration

@property(nonatomic, copy) NSURL *livePhotoMovieFileURL;

Discussion

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 capturePhotoWithSettings:delegate: method. If your settings and delegate do not meet these requirements, that method raises an exception.

See Also

Configuring Live Photo Settings

livePhotoMovieMetadata

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

livePhotoVideoCodecType

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