1

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?

Eric Aya
  • 69,000
  • 34
  • 174
  • 243
mistry
  • 379
  • 1
  • 5
  • 15

1 Answers1

1

No need to write any code for this. Just set the following properties of UITextField:

enter image description here

enter image description here

PGDev
  • 22,484
  • 6
  • 31
  • 76
  • 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