Instance Property

contentEditingOutput

The output of an asset content editing session.

Declaration

var contentEditingOutput: PHContentEditingOutput? { get set }

Discussion

To edit an asset’s ™image or video content, you must first begin a content editing session with the asset’s requestContentEditingInput(with:completionHandler:) method. You commit a content edit by setting the contentEditingOutput property of a change request within a change block. For more information about asset content editing, see PHAsset.

See Also

Editing Asset Content

func revertAssetContentToOriginal()

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software