UIImagePickerController in iOS 6 doesn't work properly
问题 I'm having a very strange behavior: in iOS 5 I present UIImagePickerController in this way: imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; imagePicker.modalPresentationStyle = UIModalPresentationFullScreen; imagePicker.modalTransitionStyle = UIModalTransitionStyleCoverVertical; [self presentModalViewController:imagePicker animated:YES]; now in iOS 6 this produce a crash. I resolved the crash by writing a category on UIImagePickerController : @implementation