TOCropViewController
TOCropViewController copied to clipboard
Count of lines (horizontal, vertical) in grid
Tim, hello. Thanks for the great library. I need to change the number of grid lines after some calculations. How can I configure this manually, have any ideas?
Hi @ArtemGukov! Thanks! I'm glad you found the library useful! :)
All the code controlling the gridlines is here: https://github.com/TimOliver/TOCropViewController/blob/master/Objective-C/TOCropViewController/Views/TOCropOverlayView.m
As you can see, it's hardcoded to be a 3x3 grid. If you want to change the number of lines, you'd have to change the code here yourself. I sadly don't have the time to take on feature requests for this library, but if it's something you'd be interested in filing a PR over, that'd be great!
Thanks!