Contents

videoEditorController(_:didFailWithError:)

Notifies the delegate when the video editor is unable to load or save a movie.

Declaration

optional func videoEditorController(_ editor: UIVideoEditorController, didFailWithError error: any Error)

Parameters

  • editor:

    The video editor that was unable to load or save a movie.

  • error:

    The loading or saving error.

Discussion

Loading a movie into the video editor could fail because of an invalid filesystem path or an invalid media format. Saving could fail because of a lack of disk space or other reasons.