I hava a UITextView ,and after some characters’ input, I want to use a button click to hide the keyboard and the UITextView is still in focus….[Attention:the button is not a return key or a done key];
I hava a UITextView ,and after some characters’ input, I want to use a
Share
Have you set delegate to your UITextView instance?
If so, try using
[_textView resignFirstResponder];else
Try using
[self.view endEditing:YES];