How to pickup multiple images from photo gallery in iOS 8 Swift - ios

I'm building an app for iOS 8 using Swift and I need to allow the user select more than one image from the photo gallery. But all code examples using UIImagePickerController works with just one photo at a time like this one
Is there any way to select more than one photo at a time?

Using UIImagePickerController no. You could write your custom picker or use something ready, like CTAssetsPickerController

Related

Multiple Selection Of Image in iOS

hey I'm new in iOS app developing world...
I had open the gallery and selected only one image and displayed on image view.
Now I want to select multiple image from Gallery.
So my question is
How should I select multiple image from Gallery in iOS and display on UIImageView???
UIImagePickerController doesn't support multiple selection by default, but you can use libraries like QBImagePicker to achieve that.
Generally you should not pick multiple images from iOS native picker so
from UIImagePickerController you can get only one picture. If you need to pick more you need a custom image picker, such as ELCImagePickerController. It works well! You can download it here.

iOS take pictures in album and then show them

What would be the best way in iOS 7 to take pictures inside a custom album (Named after my application) and then show the custom album.
I mean, I could add those pictures in a group using AssetsLibrary but there's some way to show them afterwards without having to create a custom gallery?
https://developer.apple.com/library/ios/samplecode/AVCam/Introduction/Intro.html the sample app is included. take a look

which is the best practice to use for Image gallery in iOS

In my app which i am developing now has the Image Gallery where it consist of lot of albums and multiple images per album.
which is the best practice to use for Image Gallery? where i am planning to create a tableview for album listing and a navigating to a new View Controller taping on album. is that good way of creating albums?
and i'm using AFNetwork how to cache the images in the background so that the performance of the application will not effect.
Thanks in Advance.
There are lot if third party image gallery libraries available for iOS. Following are few of them :
FGallery-iPhone
UIPhotoGallery
MWPhotoBrowser
Image-Gallery
If above ones doesn't serve your purpose you can always create a custom gallery view that serves your purpose.

iOS didFinishPickingMediaWithInfo camera roll order newest Images at top

A quick question how do you reverse the order that the camera roll is shown i.e newest images at the top rather than having to scroll all the way to the bottom to get newest image? Alas Facebook image picker?
This works for me in the sense that its just one extra step to select album then images are presented latest first UIImagePickerControllerSourceTypePhotoLibrary rather than UIImagePickerControllerSourceTypeSavedPhotosAlbum
There is one more solution to this
-Using AssetsLibrary frmaework you can have the view completely customised as per your requirement.
Reference :
UIImagepickercontroller: is it possible to change the sort order of the images in camera roll?

Creating my own Image Picker

I'd like to create a custom image browser in my app that uses the images from the camera roll.
i.e. I'd like to completely replace UIImagePickerController and use my own control.
Is there a way of accessing the camera roll photos in this way?
Cluster App does this but I can't find a picture of it.
You need to use ALAssetsLibrary to access the images.
Have a look at the QBImagePickerController on the GitHub. They implemented custom image picker controller very similar to UIImagePickerController with added multiple selection feature. It will help you. Atleast look at this file
Check out RengarViewController
a custom image picker controller which make use of Photo Framework (introduced in iOS 8).
It has nice UI, can be scrolled and panned.

Resources