Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 5 GM: <Error>: More than maximum 5 filtered album lists trying to register. This will fail

I know this thread existed before, but was closed as only appearing in iOS5 beta 6. By now I have the Golden Master of iOS 5 on my phone and that error still appears.

This is happening when I create a UIImagePickerController with a sourceType of UIImagePickerControllerSourceTypePhotoLibrary more than 5 times. I am, as far as I can tell, creating and releasing the previous UIImagePickerController correctly each time.

Edit: adding code, as requested.

UIImagePickerController *ipc = [[UIImagePickerController alloc] init];
ipc.delegate = self;
ipc.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
[self presentModalViewController:ipc animated:YES];
[ipc release];

Later, I call [self dismissModalViewControllerAnimated:YES]; when -imagePickerController:didFinishPickingImage:editingInfo: gets called.

like image 731
Infinite Avatar asked Oct 07 '11 15:10

Infinite


1 Answers

The problem happens in Apple examples, so the best bet is to ignore.

like image 124
Michael T Avatar answered Nov 16 '22 01:11

Michael T