UIPopoverController: dealloc reached while popover is still visible
问题 I am working on an app that lets the user select images from his own photo album. It works on iPhone, but not on iPad. I made a UIPopoverController , and it all works fine, the user can pick a photo, but when the user pushes "USE" button. the app cashes a says UIPopoverController dealloc] reached while popover is still visible here is the code: - (void)choosePhotoFromLibraryipad:(id)sender{ if(![popoverController isPopoverVisible]){ imagePicker = [[UIImagePickerController alloc] init];