objective c - iPhone: How to programmatically convert String entered by user into Init caps? -


i have textbox in user enters string.

i want programmatically convert string init caps.

how can that?

try using uitextautocapitalizationtypewords or uitextautocapitalizationtypeallcharacters

update

capitalizedstring or uppercasestring you

[textfield.text uppercasestring]; give characters in textfield capital letters


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -