how can i change the keyboard at runtime in iphone -
how can change keyboard @ runtime in iphone?
i have bar segmented control in have 2 options "name" , "phone no". , have textbox. want when user selects "name" , type in textbox default
keyboard should display when user selects "phone no" , type in textbox "number pad" keyboard should display.
plz me.
regards mike
this defined in uitextinputtraits protocol reference. can use
textfield.keyboardtype = uikeyboardtypenumberpad;
to change keyboard type of field.
Comments
Post a Comment