Programmatically changing keyboard type on iOS does nothing
Try this:
-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
[textField setKeyboardType:UIKeyboardTypeNumbersAndPunctuation];
[textField reloadInputViews];
return YES;
}
Try this:
-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
[textField setKeyboardType:UIKeyboardTypeNumbersAndPunctuation];
[textField reloadInputViews];
return YES;
}