How do you make it so that when you start typing on the keyboard after youve clicked on a UITextfield the first letter isn't a capital automatically?
To use a keyboard shortcut to change between lowercase, UPPERCASE, and Capitalize Each Word, select the text and press SHIFT + F3 until the case you want is applied.
Capitalization (American English) or capitalisation (British English) is writing a word with its first letter as a capital letter (uppercase letter) and the remaining letters in lower case, in writing systems with a case distinction. The term also may refer to the choice of the casing applied to text.
In Objective-C:
textField.autocapitalizationType = UITextAutocapitalizationTypeNone;
In Swift:
textField.autocapitalizationType = .none
You can turn off auto-capitalization with the .autocapitalizationType
property in the UITextInputTraits protocol.
textfield.autocapitalizationType = UITextAutocapitalizationTypeNone;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With