TOCropViewController
TOCropViewController copied to clipboard
Implement it as a view not as VC
This amazing tool needs to support single view implementation. Consider if i want to use it with my custom UI design, if toolbar, navbar etc can be separated we can use it with our custom angel ruler, aspect chooser etc and show it on container view with custom size. In this case we forced to present it as a ViewController and as you know in some projects isn't acceptable. Thank you😊
I also encountered the same scenario. i don't want to present or push the TOCropViewController. instead i want to perform cropping in a specific view. is this possible with current version ?
Thanks for the feedback folks!
You can already separate it out if you need. All of the core cropping view logic is contained in the TOCropView
class, which you can instantiate and control completely separate from the TOCropViewController
class.
Apps like Mercari already implement the cropper in this way.
Is there anything in particular blocking you from doing the same?