select imagepickercontroller 中的多个图像 ios

select multiple images in imagepickercontroller ios

我在 ios 中尝试了很多第三方选择器 selecting 多个 images/videos。有没有办法在不使用第三方图像选择器的情况下使用 imagepickercontroller select 多个 images/videos..??

您可以执行以下操作

  • 从设备中获取所有 images/video(任何你想要的)。
  • 创建一个视图控制器假设 MyGalleryVC
  • MyGalleryVC 中,您需要在集合视图或 table 视图中显示所有提取的 images/video。
  • 最后您可以设置 allowsMultipleSelection 属性 的 table 视图或集合视图。
  • 创建一个 delegate 方法,它将为您提供选定的 images/videos。