Possible Duplicate:
How do you obscure text in a password field in an iPhone Application?
How can I hide the characters a user is typing in a password field?
Possible Duplicate:
How do you obscure text in a password field in an iPhone Application?
How can I hide the characters a user is typing in a password field?
If you're using a UITextField
, set the field's secureTextEntry
property to YES. You can also set this in Interface Builder by ticking the field's "Secure" checkbox.