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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -