SFSafariViewController's `Save This Password?` prompt

In iOS 11, if `Settings > Safari > AutoFill > Names and Passwords` is set to `True`, then SFSafariViewController prompts `Save This Password?` alert/actionSheet. However, dismissing the `SFSafariViewController`, dismissing the alert before user has a chance to respond to the alert. How shall I take control of the alert and dismiss the SFSafariViewController only when user has responded to an alert?



Thank you!


Regards,

Nimesh

Replies

Did you ever find a solution for this?

I even tried subscribing to UIWindow.didBecomeVisibleNotification and UIApplication.willResignActiveNotification but they don't trigger when the password dialog pops up.
No, I haven't found any solution for this and logged a feedback with Apple.

Any updates on this? I am having this issue and multiple users are pushing for a solution. Apple? We need something done about this....

Add a Comment