Issue

When the finger is tapped into a textfield of an iOS view, the default Keypad show up from the bottom. The user enters the text and clicks on the Return/Done button however the Keypad still stays.

Solution

The iOS does not hide the Keypad on its own and needs the control to resign as the first responder. This can be done using the following snippet.

- (BOOL)textFieldShouldReturn:(UITextField *)textField {

     [textField resignFirstResponder];

return NO;

}