title: Password field's keyboard switches from azerty to qwerty (sometimes) only on iOS 12
body: <p>I code an <code>iOS</code> App in <code>Swift 4</code>, I'm french so I work with mobile phone in french language/french region.</p>
  
  <p>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.</p>
  
  <p>There is just the AZERTY keyboard in my phone settings, and it happens with all the iOS 12 devices not just mine...</p>
  
  <p>The only thing I do in code : (my <code>UIView</code> file is named RegisterView.swift)</p>
  
  <pre><code>fieldPwd = UITextField()
  fieldPwdConfirm = UITextField()
  fieldPwd.isSecureTextEntry = true
  fieldPwdConfirm.isSecureTextEntry = true
  </code></pre>
  
  <p>Is there any fix to this issue ? Thanks !</p>