<!--
{
  "availability" : [
    "iOS: 3.1.0 -",
    "iPadOS: 3.1.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIVideoEditorController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIVideoEditorController"
  },
  "title" : "UIVideoEditorController"
}
-->

# UIVideoEditorController

A view controller that manages the system interface for trimming video frames and encoding a previously recorded movie.

```
@MainActor class UIVideoEditorController
```

## Overview

A video editor manages user interactions and provides the filesystem path of the edited movie to your delegate object (see [`UIVideoEditorControllerDelegate`](/documentation/UIKit/UIVideoEditorControllerDelegate)). The features of the [`UIVideoEditorController`](/documentation/UIKit/UIVideoEditorController) class are available only on devices that support video recording. Use a video editor when your intent is to provide an interface for movie editing. While the [`UIImagePickerController`](/documentation/UIKit/UIImagePickerController) class also lets a user trim movies, its primary roles are choosing saved pictures and movies, and capturing new pictures and movies.

> Important:
> The `UIVideoEditorController` class supports portrait mode only. This class is intended to be used as-is and doesn’t support subclassing. The view hierarchy for this class is private; don’t modify the view hierarchy. This class doesn’t support modifications to its appearance by use of overlay views.

## Topics

### Managing changes to the video

[`delegate`](/documentation/UIKit/UIVideoEditorController/delegate)

The video editor’s delegate object.

[`UIVideoEditorControllerDelegate`](/documentation/UIKit/UIVideoEditorControllerDelegate)

A set of methods that your delegate object must implement to respond to the video editor.

### Determining editing availability

[`+  canEditVideoAtPath:`](/documentation/UIKit/UIVideoEditorController/canEditVideo(atPath:))

Returns a Boolean value indicating whether a video file can be edited.

### Configuring the editor

[`videoMaximumDuration`](/documentation/UIKit/UIVideoEditorController/videoMaximumDuration)

The maximum duration, in seconds, permitted for trimmed movies saved by the video editor.

[`videoPath`](/documentation/UIKit/UIVideoEditorController/videoPath)

The filesystem path to the movie to be loaded by the video editor.

[`videoQuality`](/documentation/UIKit/UIVideoEditorController/videoQuality)

The video quality to use when saving a trimmed movie.

## Relationships

### Conforms To

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`UIStateRestoring`](/documentation/UIKit/UIStateRestoring)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`UIContentContainer`](/documentation/UIKit/UIContentContainer)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`Equatable`](/documentation/Swift/Equatable)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`NSExtensionRequestHandling`](/documentation/Foundation/NSExtensionRequestHandling)

### Inherits From

[`UINavigationController`](/documentation/UIKit/UINavigationController)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)