How to make the text of UITextField to appear with First letter Capital in iPhone -


I have a text box and I'm only interested in capitalizing the first letter, how to do this in iPhone UIETField. / P>

Try this:

  tf = [[UITextField alloc] init ]; Tf.autocapitalizationType = UITextAutocapitalizationTypeSentences;  

Or set this property to property inspector in the interface builder


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c - Different access levels with PAM -