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
@asadqazi You have to dismiss TOCropViewController yourself.
Exactly. Thanks for the clarification @ay8s!
A few people have commented on this, so I might need to make it more explicit.
cropViewController.dismiss(animated: true, completion: nil)
I wrote above line at the end of _didCropToImage_ method from CropViewControllerDelegate delegate and fixed the issue