Iphone 如何从UIImagePickerController处理多个图像?

Iphone 如何从UIImagePickerController处理多个图像?,iphone,objective-c,ios,xcode,uiimagepickercontroller,Iphone,Objective C,Ios,Xcode,Uiimagepickercontroller,我对XCode比较陌生,不知道如何允许用户从UIImagePickerController中拾取多个图像。这是我的当前代码,允许用户选择一个图像: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.delegate = self; [self presentModalViewController:imagePicker animated:YES]; [imagePi

我对XCode比较陌生,不知道如何允许用户从UIImagePickerController中拾取多个图像。这是我的当前代码,允许用户选择一个图像:

UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.delegate = self;
[self presentModalViewController:imagePicker animated:YES];
[imagePicker release];
然后,要处理所选图像,我使用:

- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
[self dismissModalViewControllerAnimated:YES];
    UIImage *image = [info valueForKey:UIImagePickerControllerOriginalImage];
    //do stuff with image
}
如何修改代码的两个部分以允许用户拾取多个图像。提前谢谢


Guvvy

UIImagePickerController没有用于afaik多图像拾取的API-但这可能会给您一个开始:

仔细查看。它们让你做ImagePicker内部做的事情。然后,您可以在此基础上添加自己的逻辑(即multiselect)。

不幸的是,您必须构建自定义界面才能正常工作