Questions tagged [uiimagepicker]
8 questions
7
votes
2 answers
Scaling Image To Fit Certain Dimensions and Keep Aspect Ratio SwiftUI
I understand that it is impossible to use the .scaledToFit() modifier on an image with a frame of 120 and 430, with a frame modifier like .frame(height: 100, width: 100) and expect the image to somehow keep the aspect ratio and fit the frame of…

Evan
- 1,892
- 2
- 19
- 40
4
votes
0 answers
iOS 14 App crash frequently when use UIImagePicker to take photos
on ios 13 this crash occour some time ,but on ios 14 it is reported more frequently. i donot find the same issue that others put,does anyone experienced the same issue, how can I fix this issue??
it crashed in CameraUI [CAMPriorityNotificationCenter…

bau-yin
- 61
- 4
2
votes
1 answer
Swift 5 UIImagePickerController is not getting called
I have the most standard/out of the box code for calling the delegate function in UIImagePicker:
import Foundation
import UIKit
//import UIKit.UIImage
class FirstViewController:
UIViewController
,…

xiaolingxiao
- 4,793
- 5
- 41
- 88
0
votes
1 answer
Want to add multiple images by extracting one method
I wanted to add 3 circle image picker avatar and wanted to upload 3 different pictures in them but unfortunately not able to do that. I tried to do this by extracting the method and passing the image to the single extracted build method and in…

Usama Bin Tahir
- 143
- 1
- 11
0
votes
0 answers
How can the quality of Native camera (camera invoke via UIImagePicker) be changed to 4K?
I am trying to invoke Camera through UIImagePicker like below,
if UIImagePickerController.isSourceTypeAvailable(.camera) {
let imagePicker = UIImagePickerController()
imagePicker.delegate = self
…

Ellyn_Philip
- 185
- 8
0
votes
0 answers
Having trouble with uploading video selected using UIImagePickerController
I am trying to upload a video file selected using UIImagePickerController to firebase storage but not getting success. My code is
let imagePicker = UIImagePickerController()
imagePicker.delegate = self
imagePicker.sourceType =…

Usman
- 171
- 1
- 12
-1
votes
1 answer
Select button is hidden in UIImagePicker bar coming form a WKWebView
I have a WKWebview page in my app which selects an image to upload it so I have NO CONTROL over opening the UIImagePicker It happens natively but the "DONE" button which I can click is not shown in iPad ios 14.7.1 but it's actually clickable!!
This…

Abdulrahman Alhashmi
- 41
- 2
-1
votes
1 answer
How to change done button title in NohanaImagePicker?
How can we change the title of the done button in NohanaImagePicker?