I'm trying to get the selected text when performing actions with a UIMenuController. How do I get the selected text out? I'm using a UIWebView at the moment, but would like a universal solution if there is one.
You should be able to get the data from UIPasteboard. It should be something like [UIPasteboard generalPasteboard].string for text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With