---
title: PHContentEditingInputRequestID
framework: photos
role: symbol
role_heading: Type Alias
path: photos/phcontenteditinginputrequestid
---

# PHContentEditingInputRequestID

An identifier for an asset content editing session.

## Declaration

```swift
typealias PHContentEditingInputRequestID = Int
```

## Discussion

Discussion To begin editing the content of an asset, call the requestContentEditingInput(with:completionHandler:) method to retrieve a PHContentEditingInput object that provides data for editing. This method asynchronously prepares an editing input and calls your completion handler block when the editing input is ready. To abandon editing before Photos calls the completion handler, call the cancelContentEditingInputRequest(_:) method, passing the PHContentEditingInputRequestID you received when requesting an edit.

## 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)
- [PHLivePhotoFrame](photos/phlivephotoframe.md)
- [canPerform(_:)](photos/phasset/canperform(_:).md)
- [PHAssetEditOperation](photos/phasseteditoperation.md)
- [requestContentEditingInput(with:completionHandler:)](photos/phasset/requestcontenteditinginput(with:completionhandler:).md)
- [cancelContentEditingInputRequest(_:)](photos/phasset/cancelcontenteditinginputrequest(_:).md)
- [Editing Request Info Keys](photokit/editing-request-info-keys.md)
