Is there a way to set the autocapitalizationType for a UITextField so that the first letter of each word is capitalized by default?
UITextField
This Is A
There is an answer for Obj-C, im here for Swift;
textField.autocapitalizationType = UITextAutocapitalizationType.words
or shorter way
textField.autocapitalizationType = .words