Samer Metri
Samer Metri

Reputation: 3

How to select multiple photos?

I can select one photo at a time, using a UIImagePickerController but I need to select more than one Photo Album using Xamarin?

    UIImagePickerController picker = new UIImagePickerController();
picker.AllowsEditing = false;
        picker.SourceType = UIImagePickerControllerSourceType.SavedPhotosAlbum;
        this.PresentModalViewController(picker, true);

Upvotes: 0

Views: 1579

Answers (1)

abdimuna
abdimuna

Reputation: 785

...there is ELCImagePickerController which allows multiple images selection example

// Create the image picker
ELCImagePickerController *imagePicker = [[ELCImagePickerController alloc] initImagePicker];
imagePicker.maximumImagesCount = 4; //Set the maximum number of images to select, defaults to 4
imagePicker.returnsOriginalImage = NO; //Only return the fullScreenImage, not the fullResolutionImage
imagePicker.imagePickerDelegate = self;

//Present modally
[self presentViewController:elcPicker animated:YES completion:nil];

// Release if not using ARC
[imagePicker release];

Code can be found here!

Upvotes: 1

Related Questions