Iphone Objective-C textfield property autocorrectionType and autocapitalizationType not work simultaneous
I have faced problem for using textfield property autocorrectionType and autocapitalizationType simultaneous. I used it as following:
mytextField.autocorrectionType = UITextAutocorrectionTypeNo;
mytextField.autocapitalizationType = UITextAutocapitalizationTypeWords;
whenever i write mytextField.autocorrectionType = UITextAutocorrectionTypeNo;
then autocapitalizati开发者_JAVA百科onType property will not be effected.
so, if anyone have idea for "how to use above both property simultaneous" then reply as soon as possible...
Just make the following correction:
mytextField.autocorrectionType = FALSE;
mytextField.autocapitalizationType = FALSE;
精彩评论