Instance Method


Request to revert any edits made to the asset’s content.


func revertAssetContentToOriginal()


When an asset has been edited, Photos stores multiple versions of the asset: the original version of the asset as it was first captured or imported, and the input and output of the most recent edit. (You work with asset versions when requesting to edit an asset’s content—see PHContentEditingInputRequestOptions.) Call this method to revert to the original version of the asset, discarding all edits.

See Also

Editing Asset Content

var contentEditingOutput: PHContentEditingOutput?

The output of an asset content editing session.