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

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -