tags:

views:

1002

answers:

2

I have a need to display a UITableView containing a user's account credentials. For this, I'm using UILabels in UITableViewCells. When I display their password, I'd obviously like to just display a placeholder password character instead of their actual password, similar to a UITextField when it's set to secure text entry mode. In fact, I'd like to use the same character as UITextField uses, instead of '*'.

My question is, what is the character code for the password character the UITextField when it's in secure mode?

+2  A: 

Why not just use a UITextField, make the field non-editable and change the border style to make it look like a UILabel?

Stephen Darlington
+1  A: 

The password character is probably a bullet. On a Mac, option-8 will insert one wherever you are typing. The Character Palette says it is Unicode 2022 and UTF8 E2 80 A2.

benzado