I'd like to present an UIImagePickerController with the following code:
self.pickerController = [[UIImagePickerController alloc] init];
self.pickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
self.pickerController.delegate = self;
[self presentViewController:self.pickerController animated:YES completion:nil];
It's working fine for iOS 7 and below, but in iOS 8 I got the following glitch:
While transitioning to the image picker controller (vertical cover animation), the background colour of the picker controller is invisible, revealing the presenting view controller beneath. After transition is finished, the picker's table view will be displayed abruptly without animation.
Sometimes, the picker's table view is not displayed at all, and instead I got a blank black screen. The navigation bar is still there, but no bar button items whatsoever, so user has to force quit the application.
Anyone know what's going on here?