In my app and using Objective-C I need to implement the following functionality if possible. I would like to know if it is possible to generate a screenshot of the selected text from a UITextView. I know it sounds like a weird question but it is an important and a required functionality.
I know how to just create a screenshot programmatically but would like the region of the screenshot to be selectable based on the selected text, I hope you know what I mean.
Thank you.
This code will help you: