I code an iOS
App in Swift 4
, I'm french so I work with mobile phone in french language/french region.
With an iOS 12 device, my password field on my login page works perfectly fine (the auto-login with saved password even works and I didn't do anything to get this working), but on my register page, the field makes my keyboard switch from AZERTY to QWERTY.
There is just the AZERTY keyboard in my phone settings, and it happens with all the iOS 12 devices not just mine...
The only thing I do in code : (my UIView
file is named RegisterView.swift)
fieldPwd = UITextField()
fieldPwdConfirm = UITextField()
fieldPwd.isSecureTextEntry = true
fieldPwdConfirm.isSecureTextEntry = true
Is there any fix to this issue ? Thanks !
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…