UIImagePickerController

UIImagePickerController

本文介绍了iOS 5 GM:<错误>:超过最多5个尝试注册的过滤相册列表。这将失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个帖子,但仅在iOS5 beta 6中出现关闭。
到目前为止,我手机上已经有iOS 5的Golden Master,但仍然出现错误。

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.

当我创建 UIImagePickerController 并且 sourceType UIImagePickerControllerSourceTypePhotoLibrary 超过5次。据我所知,我每次都正确创建和发布以前的UIImagePickerController。

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.

编辑:根据要求添加代码。

adding code, as requested.

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

稍后,我打电话给 [self dismissModalViewControllerAnimated:YES]; -imagePickerController:didFinishPickingImage:editingInfo:被调用。

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

推荐答案

问题发生在Apple示例中,所以最好的选择是忽略。

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

这篇关于iOS 5 GM:<错误>:超过最多5个尝试注册的过滤相册列表。这将失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 16:31