"Save password" dialog blocks keyboard from appearing

When a VC dissapears that contained a textfiled with:

textField.textContentType = .password

I get the dialog "Would you like to save the password to iCloud keychain". If I send the app to background without dismissing the dialog first, and I get the app to foreground again, the dialog is not there but when I press any textfield inside the app the keyboard wont raise. Seems to be an iOS 13+ issue. Any help?

Same problem.

  1. Input email, password
  2. Go background right after push login button
  3. Foreground, showing next view(SMS auth)

=> it doesn't show iCloud dialog nor keyboard even uses becomeFirstResponder.

To avoid this problem,

  • Remove .isSecureTextEntry of password field in login view
  • Change contentType of password field from Password to other(like username)

But needed to use .isSecureTextEntry for now thus can't avoid this problem...

"Save password" dialog blocks keyboard from appearing
 
 
Q