Search code examples
swift3uiimagepickercontroller

Swift 3 select multiple photos using UIImagePickerController


I have a UIImagePickerController which with it I select a photo from Library, or take a photo with Camera and then show the selected photo in a UIImageView. I want to upload this photo later to an API (which still don't know how to upload photos, have never done it).

So what I want is a feature like WhatsApp selecting photos feature which you can select let's say 20 photos and then you can see them. (I mean for my case I only have one UIImageView and can only show one photo.

What is the solution? please keep in mind that I want to upload this photos later.

Thanks in advance


Solution

  • As Ethan Halprin commented, I used https://github.com/hyperoslo/ImagePicker and it solved my issue. It looks really nice and I think the customer will like it :)