I'm implementing autoFill to my iOS app using this tutorial "iOS 12 Password Tools: Improving User Security and Experience" everything work fine but the iOS is not prompt me with UIAlert to save the password when I login for the first time. I want to ask how I can trigger the UIAlert to prompt the user to save the password to keychain first time?
you have to clear the text fields and remove the view for View hierarchy.
Note: with Xcode 10 you can use save the username password in the simulator.
override func viewDidDisappear(_ animated: Bool) {
super.viewDidDisappear(animated)
view.endEditing(true)
txtfEmail.text = nil
txtfPassword.text = nil
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With