PDA

View Full Version : Using Number Pad style keyboard in a UITextfield...




deamb
Jul 13, 2008, 03:41 AM
Hello all,

I am trying to set up a UITextField in which the user would input a numerical code that would then be decoded in my app.
Since just numbers will be inputed, I am inclined to use the "Number Pad" style keyboard.

But since there is no "Done" or "Enter" button on that style keyboard, how to you get this textField to resign its firstResponder state and go on with the decoding??


Thanks



iphoneGuy
Jul 13, 2008, 07:58 AM
Hello all,

I am trying to set up a UITextField in which the user would input a numerical code that would then be decoded in my app.
Since just numbers will be inputed, I am inclined to use the "Number Pad" style keyboard.

But since there is no "Done" or "Enter" button on that style keyboard, how to you get this textField to resign its firstResponder state and go on with the decoding??


Thanks

In my app, the text field is the only field on the page. I have a Save button in the navBar to return to the main screen when you are done...