Using Number Pad style keyboard in a UITextfield...

Discussion in 'iOS Programming' started by deamb, Jul 13, 2008.

  1. deamb macrumors newbie

    Jul 5, 2008
    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??

  2. iphoneGuy macrumors member

    Oct 26, 2007
    [[NSLocation alloc] initWithCity: Chicago]
    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...

Share This Page