I want to resign the keyboard from the text view as a first responder.I want as soon as user hits the return key after editing in a textView the keyboard should resign.But I am
Make sure the text field has been set as a delegate and add the following code to your implementation file:
- (BOOL)textFieldShouldReturn:(UITextField *)textField { [myTextField resignFirstResponder]; return YES;
}