Hey everyone,
This should be quite simple I think. I know to had the keyboard this code is used:
Code:
- (BOOL)textFieldShouldReturn:(UITextField *)textBoxName {
[textBoxName resignFirstResponder];
return YES;
}
In IB where you can select keyboard type I have changed it to number pad and this code doesn't seem to work for me.
My IB settings are:
Type: Number Pad
Return Key: Done
And Auto-enable done key is checked.
And help would be appreciated.