Created a UITextField for the Postal Code / ZIP field with the keyboard type UIKeyboardTypeDefault. I would like to use the default keyboard, but I want the numbers and characters to be displayed by default in the form of letters.
Apple does this when you enter addresses in Contacts.app.
Does anyone know how to achieve this?
You want the keyboard type UIKeyboardTypeNumbersAndPunctuation .
UIKeyboardTypeNumbersAndPunctuation
And an example code of what the performer21 said:
UITextField* txt = [[UITextField alloc] init]; txt.keyboardType = UIKeyboardTypeNumbersAndPunctuation;
Source: https://habr.com/ru/post/1307742/More articles:JQuery - How to convert html from br to it to html with p in it? - jqueryoperating systems - TLB - operating-systemMake my switches selected in Android - javaHow can I use Ruby to check for a domain? - ruby ββ| fooobar.comC # Unit Test: Writing to settings in unit test does not save values ββin user.config - c #Rails Authentication Authentication Method - ruby-on-railsWorkaround for floats in DOMPDF - cssAccess to each child class of the parent class in Java - javaRemoving a dividing line from a UISplitViewController - iphoneConvert list of strings ['3', '1', '2'] into a list of sorted integers [1, 2, 3] - pythonAll Articles