custom keyboard ?

Discussion in 'iOS Programming' started by spire.bt, Jun 2, 2010.

  1. spire.bt macrumors newbie

    Joined:
    Apr 8, 2010
    #1
    is it possible to NOT show the keyboard when clicking on a text field, instead of that to write numbers from buttons on the view...something like a calculator
    i'm new in this so i don't know all the possibilities
     
  2. jnic macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #2
    You can use the UITextInputTraits protocol to set the keyboard type, which includes a numeric keypad.

    Alternatively, you could override becomeFirstResponder (and related methods) to show your own custom keyboard view.
     
  3. spire.bt thread starter macrumors newbie

    Joined:
    Apr 8, 2010
    #4
    so you say the native keyboard can be only numerical?
     

Share This Page