nek023 / QBImagePicker

A clone of UIImagePickerController with multiple selection support.
MIT License
1.78k stars 552 forks source link

Add support in the Picker to download iCloud image before returning #212

Open sumeet-gupta opened 6 years ago

sumeet-gupta commented 6 years ago

What Adds support in QBImagePickerController to download photos which are not locally present on the device(i.e. are on iCloud). This by default will not happen, if the user of QBImagePickerController wants this functionality he has to set the downloadiCloudPhotos property of QBImagePickerController. On doing this the picker upon selection will download the image while showing an activity indicator while it download the image and once the image is ready it will make the delegate callback

Why This helps if the picker is used in multiple places across the app, if this functionality isn't available in the picker the code to download iCloud images has to be written in all the places the picker is used.