开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜