Swift 3 select multiple photos using UIImagePickerController

青春壹個敷衍的年華 提交于 2019-12-12 09:42:30

问题


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


回答1:


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 :)




回答2:


I also found TLPhotoPicker and DKImagePickerController helpful since the Hyperosolo's image picker is deprecated DKImagePickerController and TLPhotoPicker was a good choice left in swift.Some other references :-

More helpful answer



来源:https://stackoverflow.com/questions/45500193/swift-3-select-multiple-photos-using-uiimagepickercontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!