title: iOS 13 only occasionally suggests a strong password after switching from previous textfield
body: <p>I'm struggling with adding a strong password generation to a UITextField on iOS 13. It doesn't work for my main new password field at all despite of adding <code>textContentType</code> to <code>.newPassword</code>. However, it works for my confirm password field only if I select it after my main password field.
  Here's the setup for these textfields, which happens in controller's <code>init</code>.</p>
  
  <pre><code>    valueTextfield.font = .boldSystemFont(ofSize: 28)
      valueTextfield.autocapitalizationType = .none
      valueTextfield.autocorrectionType = .no
      valueTextfield.textColor = .black
      valueTextfield.textAlignment = .center
      valueTextfield.borderStyle = .none
      valueTextfield.tintColor = .primary
      valueTextfield.sizeToFit()valueTextfield.textContentType = .newPassword
      valueTextfield.placeholder = "Password".localized
  
      confirmationTextField.font = .boldSystemFont(ofSize: 28)
      confirmationTextField.textColor = .black
      confirmationTextField.textAlignment = .center
      confirmationTextField.autocapitalizationType = .none
      confirmationTextField.autocorrectionType = .no
      confirmationTextField.textContentType = .newPassword
      confirmationTextField.borderStyle = .none
      confirmationTextField.tintColor = .primary
      confirmationTextField.placeholder = "Confirm".localized
  </code></pre>
  
  <p>Even adding a textfield to a blank controller doesn't help. Is that an iOS 13 bug?</p>