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

# videoMaximumDuration

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

## Declaration

```swift
var videoMaximumDuration: TimeInterval { get set }
```

## Discussion

Discussion The system-enforced maximum duration for a video recording is 10 minutes; you can set this value to 10 minutes or less. The default value for this property is also 10 minutes. The video editor user interface forces the user to trim a loaded movie to fit within this property’s value prior to saving.

## See Also

### Configuring the editor

- [videoPath](uikit/uivideoeditorcontroller/videopath.md)
- [videoQuality](uikit/uivideoeditorcontroller/videoquality.md)
