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

Adding Resize and crop options for Image picker #10

Closed
georgefam opened this issue Mar 9, 2017 · 1 comment
Closed

Adding Resize and crop options for Image picker #10

georgefam opened this issue Mar 9, 2017 · 1 comment
Labels

Comments

@georgefam
Copy link

Is it possible to add a new feature to enable crop and resize selected pictures ? thanks

@mats-claassen
Copy link
Member

I think the correct way to support this is to change the ImagePickerController and implementing it yourself.
You should be able to subclass ImagePickerController to implement that feature and then set presentationMode of your row to instantiate your subclass of ImagePickerController.

When you set presentationMode you should do something similar to what is done currently in _ImageRow at https://github.com/EurekaCommunity/ImageRow/blob/master/Sources/ImageRow.swift#L80-L83

Tell me if this works for you.

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

No branches or pull requests

3 participants