I have a text box and I am only interested in capitalizing the first letter, So how to do that in iPhone UITextField.
Or use Word's keyboard shortcut, Shift + F3 on Windows or fn + Shift + F3 for Mac, to change selected text between lowercase, UPPERCASE or capitalizing each word.
try this:
tf = [[UITextField alloc] init]; tf.autocapitalizationType = UITextAutocapitalizationTypeSentences;
or set this property in the properties inspector in Interface Builder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With