Initializer

init(contentEditingInput:)

Creates an editing output from the specified editing input.

Declaration

init(contentEditingInput: PHContentEditingInput)

Parameters

contentEditingInput

An object providing information about the asset to be edited.

Return Value

An initialized content editing output.

Discussion

To complete the edit, use the renderedContentURL property to provide the edited asset content. Then, use the PHAssetChangeRequest class or PHContentEditingController protocol to commit the edit to storage.

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