开发者

Custom Numbers & Punctuation Keypad for UITextField

开发者 https://www.devze.com 2022-12-20 17:55 出处:网络
Hey guys, I am using a Numbers & Punctuation Keypad for the UITextfield , I want the user be able to use only the follows keys :

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号