TOCropViewController
TOCropViewController copied to clipboard
Implement Discard Changes
- [x] I have read this issue template and provided all possible information.
- [x] I'm using CocoaPods and have run
pod updatebefore filing this issue.
Questions
When changes are made to the image and the cancel button is pressed, I want to ask the user "Discard changes".
Hardware / Software
Which version of the library were you using? Master. Swift Which version of iOS are you running? 11.2.6 What model of iOS device were you testing on? Iphone 6s If using CocoaPods, which version of CocoaPods are you on? 1.4.0
Goals
I want to ask the user "Discard Changes"
Expected Results
When you press cancel, know if there was a change in the original image
Actual Results
the cropViewController is closed without asking
Steps to Reproduce
- Crop image
- Press cancel button
The pod is an excellent job. Thanks.
Oh! Fantastic idea @gerardojchv! That should be really simple to add too.
I'm strapped for time, so if anyone else wants to take it up, that'd be great! :D