CodeGuy CodeGuy - 1 year ago 134
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

Answer Source

Use textField.autocapitalizationType = UITextAutocapitalizationTypeWords;

For more information please read: UITextInputTraits Protocol Reference

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download