Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select Multiple Images (UIImagePickerController or Photos.app Share UI)

In iPhone OS 3.0, Apple added the ability to share multiple pictures at once using the "Share" button and selecting multiple images (where a checkmark is used).

I'd love to have a UIImagePickerController which lets the user select multiple images at once, rather than having to go one by one. Is there a way to do this, or do I have to wait until they add this feature?

like image 331
Itay Avatar asked Aug 18 '09 00:08

Itay


People also ask

How do you select multiple photos on photos app?

To grab several at once, you can enter selection mode by long-pressing on one photo, and then tapping on other pictures or on a date. Doing the latter will automatically select all the images taken on a specific day.

What is image picker iOS?

ImagePicker is an all-in-one camera solution for your iOS app. It lets your users select images from the library and take pictures at the same time.


2 Answers

If you are supporting only iOS 14 and up, you can use Apple's PHPickerViewController. It allows multiple image selection (while UIImagePickerController does not).

An additional benefit to using PHPickerViewController vs other libraries listed above is that the user will not need to grant permission to access your photo library.

like image 68
Andy Novak Avatar answered Oct 03 '22 02:10

Andy Novak


Try this wonderful API in swift: ImagePicker. As all other image APIs, it is simple to use and it is very well updated.

like image 21
Utsav Dusad Avatar answered Oct 03 '22 02:10

Utsav Dusad