mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fix #4420 - Configure the video camera picker to record in high quality - [UIImagePickerController.QualityType.typeHigh](https://developer.apple.com/documentation/uikit/uiimagepickercontroller/qualitytype)
This commit is contained in:
committed by
Stefan Ceriu
parent
31fc67d0e1
commit
ea8ff3603b
@@ -34,6 +34,7 @@ struct CameraPicker: UIViewControllerRepresentable {
|
||||
imagePicker.sourceType = .camera
|
||||
imagePicker.allowsEditing = false
|
||||
imagePicker.delegate = context.coordinator
|
||||
imagePicker.videoQuality = .typeHigh
|
||||
|
||||
if let mediaTypes = UIImagePickerController.availableMediaTypes(for: .camera) {
|
||||
imagePicker.mediaTypes = mediaTypes
|
||||
|
||||
Reference in New Issue
Block a user