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

set max number of photos for selection? #76

Closed
rcholic opened this issue Dec 21, 2015 · 2 comments
Closed

set max number of photos for selection? #76

rcholic opened this issue Dec 21, 2015 · 2 comments

Comments

@rcholic
Copy link

rcholic commented Dec 21, 2015

Thanks for the great work!
I have a couple of questions/problems:

  1. I am wondering if there is any way to set the number of photos that a user can select using this ImagePicker.
  2. XCode complains that imagePicker as an unresolved identifier in the following code:
public var imageAssets: [UIImage] {
        return ImagePicker.resolveAssets(imagePicker.stack.assets)
    }
  1. How to dismiss the image picker when the user taps the "Done" button in on the photo selection UI? For now, nothing happens when I tap on "Done"
@RamonGilabert
Copy link
Contributor

Hey @rcholic! :)

To do the maximum number of images thing that you say, you should point to master instead of using the pod from cocoapods, since we haven't released yet (But we will soon version 1.1). That was fixed, you can see the issue in #66.

To dismiss the ImagePicker, you call the delegate method and, with the instance of your variable:

dimissViewController(imagePickerController, animated: true), the default method with iOS.

We'll check the complain thing.

Thank you. :)

@rcholic
Copy link
Author

rcholic commented Dec 22, 2015

thanks, but I actually found it in the development branch, not the master. Thanks a lot!

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

No branches or pull requests

2 participants