views:

347

answers:

1

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 Remaining screen.

Regards , Omkar Jadhav

+1  A: 

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.

greg