Instance Property


The type of image content in this frame.



var type: PHLivePhotoFrameType { get }


Photos calls your frameProcessor block repeatedly, both to process each frame of the Live Photo’s video content and to process the Live Photo’s still photo content. Use this property to distinguish photo content from video frames—for example, to add a watermark only to still photo 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.


var time: CMTime

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


enum PHLivePhotoFrameType

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