Instance Property

videoMaximumDuration

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

Declaration

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 property’s value array includes the kUTTypeMovie media type.

See Also

Configuring the Video Capture Options

var videoQuality: UIImagePickerController.QualityType

The video recording and transcoding quality.

enum UIImagePickerController.QualityType

Video quality settings for movies recorded with the built-in camera, or transcoded by displaying in the image picker.