1

I'm having this weird bug where the keyboard layout changes from QWERTY to AZERTY only for the secure text fields and that too not for all textFields. I have a LoginViewController which has a passwordField , its in AZERTY. But the passwordFields on my SingUpViewController changes automatically from AZERTY to QWERTY.

if #available(iOS 12.0, *) {
    passwordField.textContentType = .oneTimeCode
} 

It was previously an iOS 12 bug, which was fixed in iOS 12.1. I have also tried the solutions here Native UITextField Secure Text Entry forces English (US) keyboard , but they don't work either.

Thejus
  • 169
  • 12

1 Answers1

0

As someone pointed out here, if you have another textfield with the content-type Email Address on the same view, changing its content-type to Username (instead of Email Address) may fix the qwerty keyboard issue on your Password textfield.