Copy iOS video quality settings for UIImagePickerController

92 Views Asked by At

When you setup UIImagePickerController one can/should setup the video quality, like:

let imagePicker = UIImagePickerController()
imagePicker.delegate = self
imagePicker.videoQuality = .typeHigh // Setting video quality
imagePicker.sourceType = .camera

The thing is that iOS has its own video quality setup, when you go to Settings > Camera > Record Video. Is there a way to set the imagePicker quality to match the iOS setup?

1

There are 1 best solutions below

0
On

There is no way to map the same setting for the UIImagePickerController, there is only one way to control video quality that you already mentioned: https://developer.apple.com/documentation/uikit/uiimagepickercontroller/qualitytype