UITextView gesture tap recognizer not working after text begins to edit
问题 I am setting up a UITextView with a tap gesture recognizer so that I can do various things after the textView is tapped. For one I want the text view to be the "selected" view after it is tapped, like so: selectedTextView = (UITextView *)recognizer.view; It works, except that after the text view goes into text edit mode, reveling the keyboard and allowing text editing, thereafter my custom tap gesture recognizer no longer works. Any way around this? 回答1: You might just need to return YES for