CodeGuy CodeGuy - 6 months ago 89
iOS Question

UITextField auto-capitalization type - iPhone App

Is there a way to set the autocapitalizationType for a

so that the first letter of each word is capitalized by default?

This Is An Example Of What I Want


Use textField.autocapitalizationType = UITextAutocapitalizationTypeWords;

For more information please read: UITextInputTraits Protocol Reference