UITextField numeric entries only

I am going to provide here snip for limiting a textfield to numbers only.

Numeric Keypad only

Following code-snip will help you to enter 14 digit number like a phone number including brackets (), dash – , space and backspace.

Leave a Reply

Your email address will not be published. Required fields are marked *