开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜