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 -

c# - ListView onScroll event -

c - Linux mmap() error -