Instance Property

livePhotoMovieDimensions

The size, in pixels, of the Live Photo movie content delivered by this capture.

Declaration

@property(readonly) CMVideoDimensions livePhotoMovieDimensions;

Discussion

Use the livePhotoMovieFileURL property in your photo settings object to request Live Photo capture. Live Photo movie dimensions can change depending on which device camera is used for capture.

This property provides dimensions for the movie content of the Live Photo, which is delivered in the captureOutput:didFinishProcessingLivePhotoToMovieFileAtURL:withDuration:photoDisplayTime:forSettings:error: method. Use this property in earlier delegate methods to find the dimensions of the movie before delivery.

For the dimensions of the static photo content of a Live Photo, see the photoDimensions property.

If you do not request Live Photo capture, this property’s value has zero width and zero height.

See Also

Examining Output Dimensions

photoDimensions

The size, in pixels, of the photo image (in a processed format such as JPEG) delivered by this capture.

rawPhotoDimensions

The size, in pixels, of the RAW-format photo image delivered by this capture.

previewDimensions

The size, in pixels, of the preview image delivered along with this capture.

embeddedThumbnailDimensions

The size, in pixels, of the thumbnail image delivered in this capture.

rawEmbeddedThumbnailDimensions

The size, in pixels, of the RAW-format embedded thumbnail image delivered by this capture.

portraitEffectsMatteDimensions

The size, in pixels, of the portrait effects matte delivered by this capture.