When using the UIImagePickerController, is there a way to specify the resolution of the captured video, or to restrict the length of the video (based on size). I would love to be able to have the video capture at a standard lower res mode rather than 720P.
When using the UIImagePickerController, is there a way to specify the resolution of the
Share
For iOS 3.1 or later, you can use the
videoQualityproperty ofUIImagePickerController. The values are an in the enumerationUIImagePickerControllerQualityTypewhich definesUIImagePickerControllerQualityType{Low|Medium|High}. The default is UIImagePickerControllerQualityTypeMedium. 4.0 and later have additional resolution options.As for duration, the property
videoMaximumDurationallows you to specify the maximum time in seconds.