I am trying to use a customized keyboard in my application, but I am hitting problems when trying to restrict it to one particular UITextField.
I based my code on this X
That project works great, but when I add an extra UITextField, the custom key gets put into the keyboard for that text field too.
You can set the keyboard type for a UITextField
instance, e.g.:
[myTextField setKeyboardType:UIKeyboardTypeDefault];
or:
myTextField.keyboardType = UIKeyboardTypeDefault;
Search the Xcode help on UITextInputTraits Protocol
for a list of UIKeyboardType
constants.