I have a very simple login page (login + password).
My users are french, so their keyboard are French (azerty).
Since iOS 12, when they click on the password
Same solution in Swiftui now :
TextField("placeholder",text: $YourTextBinding) .textContentType(.oneTimeCode) .keyboardType(.default)
just need to add :
.textContentType(.oneTimeCode) .keyboardType(.default)
to a TextField or a SecureField.
TextField
SecureField
hope it helps !