UITextField - how do I use a custom keyboard and disable the default keypad?

You can subclass UITextField and override canBecomeFirstResponder Return NO and it will never put up a keyboard. However, you'll need to be in charge of handling touches so you can enable/disable your own keyboard. This may affect cut/copy/paste behavior so think about whether you really want to do this.

You can subclass UITextField and override canBecomeFirstResponder. Return NO and it will never put up a keyboard. However, you'll need to be in charge of handling touches so you can enable/disable your own keyboard.

This may affect cut/copy/paste behavior so think about whether you really want to do this.

Thanks for the idea, I came up with an alternative solution. I made a uitextfield and disabled the "user interaction". Then I created an invisible custom button on top of the uitextfield that targets a function that launches the keyboard.

– tony.tc. Leung Jul 20 '09 at 14:37 I have followup question now. Is there a way to enable the cursor even after disabling "user interaction"?

– tony.tc. Leung Jul 20 '09 at 17:38.

The new decimal pad keyboard available in the latest iOS releases could be helpful too. – dwery Oct 21 at 1:42.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send