I ran into the problem of using the text property autocorrectionType and autocapitalizationType at the same time. I used it like:
mytextField.autocorrectionType = UITextAutocorrectionTypeNo;
mytextField.autocapitalizationType = UITextAutocapitalizationTypeWords;
whenever I write mytextField.autocorrectionType = UITextAutocorrectionTypeNo;
, then the autocapitalizationType property will fail.
therefore, if anyone has an idea "how to use both properties above simultaneously," then answer as soon as possible ...
source
share