| Conforms to | |
| Framework | /System/Library/Frameworks/UIKit.framework |
| Availability | Available in iPhone OS 3.1 and later. |
| Declared in | UIVideoEditorController.h |
The UIVideoEditorControllerDelegate protocol defines methods that your delegate object must implement to respond to the video editor. The methods of this protocol notify your delegate when the system has saved an edited movie or the user has cancelled editing to discard any changes. There is also a method for responding to errors encountered by the video editor.
The delegate methods are responsible for dismissing the video editor when the operation completes. To dismiss the editor, call the dismissModalViewControllerAnimated: method of the parent controller responsible for displaying the video editor. The video editor is described in UIVideoEditorController Class Reference.
– videoEditorController:didSaveEditedVideoToPath: required method
– videoEditorControllerDidCancel: required method
– videoEditorController:didFailWithError: required method
Called when the video editor is unable to load or save a movie. (required)
- (void)videoEditorController:(UIVideoEditorController *)editor didFailWithError:(NSError *)error
The video editor that was unable to load or save a movie.
The loading or saving error.
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.
UIVideoEditorController.hCalled when the system has finished saving an edited movie. (required)
- (void)videoEditorController:(UIVideoEditorController *)editor didSaveEditedVideoToPath:(NSString *)editedVideoPath
The video editor that has finished editing and saving a movie.
The filesystem path to the edited movie.
UIVideoEditorController.hCalled when the user has cancelled a movie editing operation. (required)
- (void)videoEditorControllerDidCancel:(UIVideoEditorController *)editor
The video editor that the user cancelled, not wanting to save changes.
UIVideoEditorController.hLast updated: 2009-07-07