Closed varkrishna closed 4 years ago
i have same issue with default UIImagePickerController also, please help @IBAction func showImgPicker(_ sender: UIButton) { let imagePickerController = ImagePickerController() imagePickerController.delegate = self imagePickerController.imageLimit = 5 present(imagePickerController, animated: true, completion: nil) } func wrapperDidPress(_ imagePicker: ImagePickerController, images: [UIImage]){ imagePicker.dismiss(animated: true, completion: nil) } func doneButtonDidPress(_ imagePicker: ImagePickerController, images: [UIImage]){ imagePicker.dismiss(animated: true, completion: nil) }
@IBAction func showImgPicker(_ sender: UIButton) {
let imagePickerController = ImagePickerController()
imagePickerController.delegate = self
imagePickerController.imageLimit = 5
present(imagePickerController, animated: true, completion: nil)
}
func wrapperDidPress(_ imagePicker: ImagePickerController, images: [UIImage]){
imagePicker.dismiss(animated: true, completion: nil)
func doneButtonDidPress(_ imagePicker: ImagePickerController, images: [UIImage]){
func cancelButtonDidPress(_ imagePicker: ImagePickerController){ imagePicker.dismiss(animated: true, completion: nil) }`
func cancelButtonDidPress(_ imagePicker: ImagePickerController){
i have same issue with default UIImagePickerController also, please help
@IBAction func showImgPicker(_ sender: UIButton) {
let imagePickerController = ImagePickerController()
imagePickerController.delegate = self
imagePickerController.imageLimit = 5
present(imagePickerController, animated: true, completion: nil)
}
func wrapperDidPress(_ imagePicker: ImagePickerController, images: [UIImage]){
imagePicker.dismiss(animated: true, completion: nil)
}
func doneButtonDidPress(_ imagePicker: ImagePickerController, images: [UIImage]){
imagePicker.dismiss(animated: true, completion: nil)
}
func cancelButtonDidPress(_ imagePicker: ImagePickerController){
imagePicker.dismiss(animated: true, completion: nil)