Is there anyway, I can copy the text inside UITextView to the clipboard when the user chooses Select All without waiting for Copy command from the user?
In other words, is it possible to make a -selectAll method like the following?
-(BOOL)selectAll
{
//custom code to copy the text
return YES;
}
You can subclass UITextView and override
canPerformActionwhere you can call your own clipboard function if selectAll is chosen