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.