A container that provides image content for a single frame of a Live Photo in an editing context.


@protocol PHLivePhotoFrame


You don’t create classes that implement this protocol. Instead, you provide a frameProcessor block when editing a Live Photo with the PHLivePhotoEditingContext class. When you process your edits for output or display, Photos calls your block repeatedly to process each frame of the Live Photo’s video and still photo content. On each call, Photos provides the frame’s image content and associated information in an object that adopts this protocol. In that block, you use that object’s image property to access the image to be edited, then perform your edits and return another CIImage object representing the result of processing the input image.


Editing the Frame Image


The image content of the frame to be processed.


Getting Information About the Frame


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



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



The type of image content in this frame.



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

See Also

Editing an Asset

Editing Asset Content

Make a request to modify and save a photo or video asset.


A container that provides information about and access to the image, video, or Live Photo content of an asset to be edited.


A container to which you provide the results of editing the photo, video, or Live Photo content of a Photos asset.


A description of the edits made to an asset's photo, video, or Live Photo content, which allows your app to reconstruct or revert the effects of prior editing sessions.


A set of options affecting the delivery of image or video data when you request to edit the content of a Photos asset.


An editing session for modifying the photo, video, and audio content of a Live Photo.

- canPerformEditOperation:

Returns whether the asset supports the specified editing operation.


Values identifying possible actions an asset can support, used by the canPerformEditOperation: method.

- requestContentEditingInputWithOptions:completionHandler:

Requests asset information for beginning a content editing session.

- cancelContentEditingInputRequest:

Cancels a request for editing the asset’s content.


An identifier for an asset content editing session.

Editing Request Info Keys

Keys indicating the status of an asset content editing request, used in the completion handler of the requestContentEditingInputWithOptions:completionHandler: method.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software