【问题标题】:Uploading Multiple Image using UIImagePickerController in IPhone Application在 iPhone 应用程序中使用 UIImagePickerController 上传多个图像
【发布时间】:2014-05-07 11:08:12
【问题描述】:

我正在使用一个 iOS 应用程序,我想在其中使用 UIImagepickercontroller 选择多个图像,然后将其上传到 DropBox。 我在某些地方发现通过使用 UIImagepickercontroller 我们一次只能选择单个图像。我正在使用下面的代码在 UIPopovercontroller 的帮助下使用 UIImagepickercontroller 选择多个图像:

 UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
        imagePicker.delegate = self;
        imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
    imagePicker.mediaTypes = [NSArray arrayWithObject:(NSString*) kUTTypeImage];
       // [self presentViewController: imagePicker animated:YES completion:NULL];

     popoverController = [[UIPopoverController alloc] initWithContentViewController:imagePicker];
        [popoverController presentPopoverFromRect:CGRectMake(0.0, 0.0, 400.0, 300.0)inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];

但是当我运行这个应用程序时,我只得到一个弹出窗口并且只选择单个图像。 有什么方法可以选择多张图片吗? 请帮帮我。 提前致谢

【问题讨论】:

标签: ios uiimagepickercontroller


【解决方案1】:

有这么多第三方类,使我们能够从资产库中挑选多个图像,所有图像都列在here

我建议你使用ELCImagePickerController

您可以选择here

【讨论】:

  • 感谢您的帮助,但我已经使用 E:CImagePICKERController。我的要求是使用 UIImagePickerController 进行多个选择。您对此有任何想法吗??
猜你喜欢
  • 2011-05-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-11-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多