---
title: PHLivePhotoFrame
framework: photos
role: symbol
role_heading: Protocol
path: photos/phlivephotoframe
---

# PHLivePhotoFrame

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

## Declaration

```swift
protocol PHLivePhotoFrame
```

## Overview

Overview 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.

## Topics

### Editing the Frame Image

- [image](photos/phlivephotoframe/image.md)

### Getting Information About the Frame

- [renderScale](photos/phlivephotoframe/renderscale.md)
- [time](photos/phlivephotoframe/time.md)
- [type](photos/phlivephotoframe/type.md)
- [PHLivePhotoFrameType](photos/phlivephotoframetype.md)

## See Also

### Editing an Asset

- [Editing Asset Content](photokit/editing-asset-content.md)
- [PHContentEditingInput](photos/phcontenteditinginput.md)
- [PHContentEditingOutput](photos/phcontenteditingoutput.md)
- [PHAdjustmentData](photos/phadjustmentdata.md)
- [PHContentEditingInputRequestOptions](photos/phcontenteditinginputrequestoptions.md)
- [PHLivePhotoEditingContext](photos/phlivephotoeditingcontext.md)
- [canPerform(_:)](photos/phasset/canperform(_:).md)
- [PHAssetEditOperation](photos/phasseteditoperation.md)
- [requestContentEditingInput(with:completionHandler:)](photos/phasset/requestcontenteditinginput(with:completionhandler:).md)
- [cancelContentEditingInputRequest(_:)](photos/phasset/cancelcontenteditinginputrequest(_:).md)
- [PHContentEditingInputRequestID](photos/phcontenteditinginputrequestid.md)
- [Editing Request Info Keys](photokit/editing-request-info-keys.md)
