We have a photo picker made with UIImagePickerController.
When making double tap (instead of one tap) the photo from gallery.
- On iOS 10:
UIImagePickerControlleris dismissed - On iOS 11:
UIImagePickerControlleris dismissed and presenting view controller is dismissed as well :0
Is it iOS 11 bug or we have to adjust something?
Our code:
let vc = UIImagePickerController()
vc.delegate = self
vc.modalPresentationStyle = .overFullScreen
vc.allowsEditing = false
rootVC.present(vc, animated: true) // `rootVC` also presented modally.