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

Done button does not dismiss #334

Closed
asadqazi opened this issue Feb 16, 2019 · 3 comments
Closed

Done button does not dismiss #334

asadqazi opened this issue Feb 16, 2019 · 3 comments
Labels

Comments

@asadqazi
Copy link

I used the latest 2.4 version using cocoapods and still when I press the done button it does not close the crop view controller

@ay8s
Copy link

ay8s commented Mar 5, 2019

@asadqazi You have to dismiss TOCropViewController yourself.

@TimOliver
Copy link
Owner

Exactly. Thanks for the clarification @ay8s!

A few people have commented on this, so I might need to make it more explicit.

@pawargb
Copy link

pawargb commented Apr 25, 2019

cropViewController.dismiss(animated: true, completion: nil)

I wrote above line at the end of didCropToImage method from CropViewControllerDelegate delegate and fixed the issue

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

4 participants