TOCropViewController
TOCropViewController copied to clipboard
Make Toolbar Controls More Flexible
Hi
We are using TOCropViewController in one of our project and we do have a specific requirement wrt tool bars displayed when crop controller is shown. The tool bar shows icons when app runs on the device in landscape mode and shows text in portrait mode. I did check your code and this is how it was implemented. Do you have any plans in future where there will be flexibility in choosing what kind of items to be shown all the time (like showing text for orientation)? We do have requirement to show text all the time. Also can we choose where to place the tool bar in landscape either on the side or down of the screen? Let me know.
Thanks
Hi @naveenkumard! Thanks for the issue!
Sorry, I don't have any plans to change the way the toolbar renders its items. It uses icons instead of text in landscape mode because the text would have to be scaled down really small to fit in a toolbar that's only 44 points horizontally wide.
If you want, feel free to play with toolbar code and file a PR if you come up with a way that gets around this problem. :)