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

泪湿孤枕 提交于 2019-11-27 22:54:15

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

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

Have you tried to set the delegate of the image picker to nil, in didFinishPickingImage ?

This is not your fault.It may be vary in different version.Apple should solve this issue.Main thing is that you should check for memory leak is important.Thanks

iHS

try setting

picker=nil

in the

- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
[self dismissModalViewControllerAnimated:YES];
picker = nil;
}

it works for me......

Try this one, i am sure this is gonna help you;

- (void)viewDidAppear:(BOOL)animated
{
    [super viewDidAppear:animated];

    [self setModalInPopover:YES];
}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!