Instance Property

type

The type of image content in this frame.

Required.

Declaration

@property(nonatomic, readonly) PHLivePhotoFrameType type;

Discussion

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

renderScale

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

Required.

time

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

Required.

PHLivePhotoFrameType

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