Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone, "More than maximum 5 filtered album lists trying to register. This will fail." Error

When I try to read an image from the photo library I get the error, "More than maximum 5 filtered album lists trying to register. This will fail." The image is not read.

Any idea how to fix this?

like image 363
SolidSnake4444 Avatar asked Aug 23 '11 20:08

SolidSnake4444


1 Answers

I think you are not checking the source type. You might be doing

 self.sourceType =UIImagePickerControllerSourceTypePhotoLibrary; 

If this is the case, then you have to check the source type before assigning it directly. like

 if ([UIImagePickerController isSourceTypeAvailable:      UIImagePickerControllerSourceTypePhotoLibrary])    {        // Set source to the Photo Library        self.sourceType =UIImagePickerControllerSourceTypePhotoLibrary;    } 

I hope it helps

like image 66
iHS Avatar answered Sep 21 '22 22:09

iHS