Is there a way to stop the default keyboard and have my custom designed keyboard when user clicks on TextField ?
I already designed my buttons to be always available similar to a calculator. It has numbers from 0 to 9 , decimal dot and backspace.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Starting with iOS 3.2, you can attach any
UIViewto yourUITextFieldto be used as a keyboard:You can also attach a toolbar above the keyboard (system or custom one) :
By the way, if you need a numeric pad with 0-9, the decimal dot, and Backspace, you can use the
UIKeyboardTypeDecimalPadtype for your UITextField. But this one is only available starting from iOS 4.1, and you have to be aware that some locales use a comma instead of a dot as a decimal separator, and this keyboard type shows a comma or a dot regarding of the current locale of the device it’s running on.