Enumeration

PHLivePhotoFrameType

Identifiers for the type of frame image to be processed. Used with the type property.

Declaration

enum PHLivePhotoFrameType : Int

Topics

Constants

case photo

The image is a still photo.

case video

The image is a single frame from the Live Photo’s video content.

See Also

Getting Information About the Frame

var renderScale: CGFloat

The scale factor of the frame image relative to the Live Photo’s photo content.

Required.

var time: CMTime

The time offset, in seconds, of this frame relative to the start of the Live Photo.

Required.

var type: PHLivePhotoFrameType

The type of image content in this frame.

Required.