Set a PasswordField to secureTextEntry give me a strange behaviour

后端 未结 7 1960
感动是毒
感动是毒 2021-01-07 18:01

I have a passwordField who i set the isSecureTextEntry to true, for hidden the characters. But when I click to this passwordField this show me this

7条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-07 18:33

    I was having same issue while i was running my application on the simulator. Setting autocorrection to no solved my issue. I hope it helps you.

    textFieldPassword.autocorrectionType = .no
    

提交回复
热议问题