I want to dismiss my keyboard as I press RETURN key.
I have tried by putting button in view\'s back side.
But how can I do this by pressing RETURN key?
-(BOOL)textFieldShouldReturn:(UITextField *)textField { [textField resignFirstResponder]; return YES; }
Don't forget to add the delegate UITextFieldDelegate
UITextFieldDelegate