Instance Property

adjustmentData

An object describing the changes made to the asset.

Declaration

@property(readwrite, strong) PHAdjustmentData *adjustmentData;

Discussion

You use adjustment data to describe the “recipe” for an edit that later edits can make use of. For example, a photo editing app can use this property to save information about the filters applied to a photo. Later, the same app (or another app that understands its adjustment data format) can load the filter information, change the filter parameters, and reapply the filters to the original photo.

If you write new asset content to the URL specified by the renderedContentURL property, you must also provide a new, distinct PHAdjustmentData object describing your edit. Passing a preexisting adjustment data object (that describes an earlier edit) results in undefined behavior.

See Also

Providing Edit and Adjustment Data

renderedContentURL

The URL at which to write a file containing edited asset content.