UIImagePickerController almost always crashes in iOS13 real device.
But sometimes, I can confirm image list and I can select image.
But sometimes, I can confirm image list and I can select image.
This program almost always crashes when showing image list
This program always crashes when selecting "all photos" and particular albums in image list.But it doesn't crash selecting other albums .
Code Block class ViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate{ var myImagePicker: UIImagePickerController! override func viewDidLoad() { super.viewDidLoad() myImagePicker = UIImagePickerController() myImagePicker.sourceType = UIImagePickerController.SourceType.photoLibrary myImagePicker.delegate = self } private func showPicker() { if UIImagePickerController.isSourceTypeAvailable( UIImagePickerController.SourceType.photoLibrary){ self.present(myImagePicker, animated: true, completion: nil) } } func imagePickerControllerDidCancel(_ picker: UIImagePickerController) { self.dismiss(animated: true, completion: nil) } }
Code Block 2020-06-30 23:15:40.886632+0900 ImageCutter[8367:2065177] [lifecycle ] [u 287F6EF5-DCD3-4CC0-B656-F3D048544B65:m (null)] [com.apple.mobileslideshow.photo-picker(1.0)] Connection to plugin interrupted while in use. 2020-06-30 23:15:40.886938+0900 ImageCutter[8367:2065177] [lifecycle ] [u 287F6EF5-DCD3-4CC0-B656-F3D048544B65:m (null)] [com.apple.mobileslideshow.photo-picker(1.0)] Connection to plugin invalidated while in use. 2020-06-30 23:15:40.887127+0900 ImageCutter[8367:2065007] viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted} 2020-06-30 23:15:40.887193+0900 ImageCutter[8367:2065007] [Generic] -[PUPhotoPickerHostViewController viewServiceDidTerminateWithError:] Error Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}