开发者

How can I put first character small in UITextField in iphone?

开发者 https://www.devze.com 2023-02-20 17:13 出处:网络
I want to insert an email address so the first character will be lower case, but when the keyboard comes up, the first character is capital. What s开发者_开发百科hould I do?Set autocapitalizationType

I want to insert an email address so the first character will be lower case, but when the keyboard comes up, the first character is capital. What s开发者_开发百科hould I do?


Set autocapitalizationType property of your text field to UITextAutocapitalizationTypeNone


You might want:

myTextField.keyboardType = UIKeyboardTypeEmailAddress;
0

精彩评论

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