---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uivideoeditorcontroller/delegate
---

# delegate

The video editor’s delegate object.

## Declaration

```swift
unowned(unsafe) var delegate: (any UINavigationControllerDelegate & UIVideoEditorControllerDelegate)? { get set }
```

## Discussion

Discussion The delegate receives a notification when the system has finished saving an edited movie or when the user cancels the video editor. The delegate also decides when to dismiss the editor interface, so you must provide a delegate to use a video editor. If this property is nil, the editor is dismissed immediately if you try to show it. The delegate protocol is described in UIVideoEditorControllerDelegate.

## See Also

### Managing changes to the video

- [UIVideoEditorControllerDelegate](uikit/uivideoeditorcontrollerdelegate.md)
