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,473
  • 35
  • 181
  • 253
mistry
  • 459
  • 1
  • 6
  • 16

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
  • 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