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

# videoMaximumDuration

The maximum duration, in seconds, for a video recording.

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

## Discussion

The default value for this property is 10 minutes (600 seconds). When a user taps the Share button to send a movie to MMS, MobileMe, YouTube, or another destination, an appropriate duration limit and an appropriate video quality are enforced.

This property is available only if the [`mediaTypes`](/documentation/UIKit/UIImagePickerController/mediaTypes) property’s value array includes the `kUTTypeMovie` media type.

## See Also

[`+  availableMediaTypesForSourceType:`](/documentation/UIKit/UIImagePickerController/availableMediaTypes(for:))

Retrieves the available media types for the specified source type.

[`+  isSourceTypeAvailable:`](/documentation/UIKit/UIImagePickerController/isSourceTypeAvailable(_:))

Queries whether the device supports picking media using the specified source type.



---

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)