Iphone Textview does not invoke TouchesBegan
问题 I have a Textfield which hides the keyboard when I touch somewhere else on the screen (through my TouchesBegan function and resign...blah). But when I touch a Textview the TouchesBegan does not get invoked and the keyboard doesn't hide! Is there any way to invoke TouchesBegan in order to hide the keyboard? 回答1: There is also a easy way to hide the keyboard on touchesBegan: when you are using UITextView to enter the data. Step 1. Be sure that you have extended Textviewdelegate while class