I have a text field in my view, which has secured text entry (as it is a password field) and placeholder text of "Password". However, upon running my application, the "Password" placeholder is replaced with 8 dots, as if it were a password. How do I change it such that the original text is displayed?
Asked
Active
Viewed 712 times
1
-
6Can you add some code or screenshots of your storyboard? – Jay Jul 24 '17 at 07:59
-
This is worth a look - https://stackoverflow.com/questions/41421850/hide-placeholder-programatically-using-swift-3x – Gareth Jul 24 '17 at 08:11
-
Check this , May be helpful. https://stackoverflow.com/questions/8532874/clear-uitextfield-placeholder-text-on-tap – SAURABH SANWAL Jul 24 '17 at 09:16
-
@Gareth That's great, thanks! – mistry Jul 24 '17 at 11:48
1 Answers
1

PGDev
- 23,751
- 6
- 34
- 88
-
That's what I currently have set up (with the addition of the clear button being visible), but it still secures the placeholder text. Is it a problem with the simulator from previous builds? – mistry Jul 24 '17 at 12:07
-
I have used the same setup and getting no issues. I have added the screenshot of the running app. – PGDev Jul 24 '17 at 12:12