iOS16 autofill causes crash while click "key button"(over keyboard)

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present modally a view controller <_SFAppAutoFillPasswordViewController: 0x106e22ee0> that is already being presented by <UIKeyboardHiddenViewController_Autofill: 0x106e25a10>.' IOS16(not sure other OS version could reproduce this or not) click on textfield, then keyboard shows(with a key button above), click key button, it crashes randomly.

My scenario for iPhone with iOS 16.1.2 is the following: disable orientation lock on the device -> have an app which works only in the portrait mode -> go to login screen -> tap on password field -> keyboard shows up -> rotate the phone 90 degrees (to a landscape orientation) -> tap on passwords on the keyboard (see the screenshot below) -> crash.

Furthermore if we first tap on the password and then rotate to the landscape, then ask for touch id/face id popup will be blinking, until we rotate again to a portrait. Of course to get the error don't let it to read your face ;)

Looks like bunch of apps have this issue - I tried few from the Appstore, e.g. Duolingo. Happens also for login pages in webviews (although it didn't crash for login by fb/google in Duolingo case).

Note that in Crashlytics it will say that system was in the portrait mode, although you rotated the phone to the landscape.

Looks to me like something that Apple has to fix.

We are also having the same problem with our app. maybe disabling the autofill might temporarily solve it, but that will be inconvenient. Any solution yet?

Hi all, can't reproduce it on iOS 16.2, seems like Apple has fixed it, I have verified many app like roku, LinkedIn and other apple apps like Connect

I'm still seeing this error in our Firebase logs, also for iOS 16.2.0 users.

Any update on this? We are still experiencing the issue on multiple of our Apps, also on iOS 16.2.

We are having the same issue - its definitely related to autofill and locking the app to either portrait or landscape.

same problem and crashes are solved in 16.2.0, got only one crash in firebase after 16.2, but no solutions, I can't find a way to restrict QuickType bar for even for current version of app, its ok only with pad keyboard, but I need to pass email and password, Is some one find solution to disable this bar or elements, or key from this "helpfull" bar?

Same issue with our App which is locked to landscape. When the rotation lock is on and when using the password manager to autofill the data the App crashes.

Same thing in our apps witch is locked to portrait in iOS16.2 (20C65)

Same issue for our app too!

same issue, any progress ?

Do you have a solution?

I've got this same issue; bumping the thread

iPhone SE (3rd Gen), iOS 16.1.1

Application tried to present modally a view controller <_SFAppAutoFillPasswordViewController: 0x10660f0e0> that is already being presented by <UIKeyboardHiddenViewController_Autofill: 0x131405580>.
-[UIViewController _presentViewController:withAnimationController:completion:]
iOS16 autofill causes crash while click "key button"(over keyboard)
 
 
Q