Custom Numbers & Punctuation Keypad for UITextField
Hey guys , I am using a Numbers & Punctuation Keypad for the UITextfield , I want the user be able to use only the follows keys : 1. Numbers 2. Decimal / Dot /Period 3. Done / Return Key
I want to disable all the characters as well as the Spacebar , how can I do that ? Well I could have used the Number Keypad but then how am I supposed get the Decimal / Dot / Period in it ..?? I am also trying to figure out was to Hide the Number keypad after the user clicks on a the Remaini开发者_如何学JAVAng screen.
Regards , Omkar Jadhav
You currently can't modify the keyboards that the iPhone provides.
To get rid of the keyboard, look into the resignFirstResponder message. That question has probably been answered in explicit detail on here elsewhere.
精彩评论