TOCropViewController
TOCropViewController copied to clipboard
Rotate 180 degrees instead of 90 degrees
Hi, I want to Rotate 180 degrees instead of 90 degrees, how do I do this using this library?
Hi!
Hmm, if you don't care about animating it, you could just set the angle property on TOCropViewController. If you want to animate it, the easiest thing to do would be call - (void)rotateImageNinetyDegreesAnimated:(BOOL)animated clockwise:(BOOL)clockwise on the TOCropView twice.
It probably wouldn't be too hard to extend the rotation animation logic to handle 180 degree. Feel free to file a PR! :)
In future, please do not delete the issue template. It would be nice if I could get more information on what your specific use-case is. :)
Hi, yes right away I will do that in future and yes I did this without animation and it works awesome.