how can I subclass UITextView to disable copy,cut,and paste?
I have seen many examples out there but I did not get how to subclass UITextView?
I need to overwrite:
- (BOOL)canBecomeFirstResponder
{
return NO;
}
But what is the exact steps to subclass ? and how to link it to my existing UITextView in my storyboard?
I’m not 100% about this, but it may work.
On your subclass, override this method like this:
Let me know if it works.