A container that provides image content for a single frame of a Live Photo in an editing context.
- iOS 10+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10+
You don’t create classes that implement this protocol. Instead, you provide a
frame block when editing a Live Photo with the
PHLive 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.