Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to limit number of images to select? #66

Closed
thrilller opened this issue Dec 7, 2015 · 3 comments
Closed

How to limit number of images to select? #66

thrilller opened this issue Dec 7, 2015 · 3 comments

Comments

@thrilller
Copy link

There can be scenario when only one image is to be selected from picker e.g user profile image change. Tapping on different image will deselect previous one in gallery.

@thrilller thrilller changed the title Any way to limit number of images to select? How to limit number of images to select? Dec 7, 2015
@zenangst
Copy link
Contributor

zenangst commented Dec 8, 2015

We don't support this feature at the moment but it would be a nifty enhancement. 😎

@RamonGilabert
Copy link
Contributor

We are planning to do a major release by the start of next year, after holidays! :) So we could add that 💃

@RamonGilabert
Copy link
Contributor

As #68 implements, using the branch development you are going to be able to, when you instantiate the ImagePicker, use:

let imagePickerController = ImagePickerController()
imagePickerController.imageLimit = 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants