Chatar Veer Suthar
Chatar Veer Suthar

Reputation: 15639

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 should I do?

Upvotes: 5

Views: 1049

Answers (2)

Wex
Wex

Reputation: 4686

You might want:

myTextField.keyboardType = UIKeyboardTypeEmailAddress;

Upvotes: 1

Vladimir
Vladimir

Reputation: 170829

Set autocapitalizationType property of your text field to UITextAutocapitalizationTypeNone

Upvotes: 13

Related Questions