tags:

views:

363

answers:

1

Hi,

I have a text box and I am only interested in capitalizing the first letter, So how to do that in iPhone UITextField.

+2  A: 

try this:

tf = [[UITextField alloc] init];

tf.autocapitalizationType = UITextAutocapitalizationTypeSentences;

or set this property in the properties inspector in Interface Builder

ennuikiller