---
title: canHandleAdjustmentData
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phcontenteditinginputrequestoptions/canhandleadjustmentdata
---

# canHandleAdjustmentData

A block to be called when Photos needs to determine whether your app can continue previous edits made to an asset.

## Declaration

```swift
var canHandleAdjustmentData: (PHAdjustmentData) -> Bool { get set }
```

## Discussion

Discussion When an asset is edited, Photos stores a PHAdjustmentData object provided by the app or extension that edited the asset. This object provides all information necessary to reconstruct the edited asset using the original asset data. When your app requests to edit an asset, Photos calls this block to inquire whether your app can handle the asset’s past adjustments. The block takes the following parameter: If your block returns true, Photos provides the original asset data for editing. Your app uses the adjustment data to alter, add to, or reapply previous edits. (For example, an adjustment data may describe filters applied to a photo. Your app reapplies those filters and allows the user to change filter parameters, add new filters, or remove filters.) If your block returns false, Photos provides the most recent asset data—the rendered output of all previous edits—for editing.
