HomeiOS DevelopmentSaving password in passwords app is NOT working if I've password and...

Saving password in passwords app is NOT working if I’ve password and ensure password textfield Swift IOS 26


I’m implementing a “save password” characteristic on join, the place I’ve 3 textual content fields: Username, password and ensure password.

My downside is that if I take away “verify password” textual content subject, a “save password” PopUp comes and I’m able to save the password, however I need a “verify password” textual content subject as properly. As quickly as I add a “verify password” textual content subject it stops displaying me “save password” PopUp.

That is my code:

func setupTextFields() {
// USERNAME FIELD
usernameTextField.delegate = self
usernameTextField.textContentType = .username
usernameTextField.keyboardType = .emailAddress
usernameTextField.autocapitalizationType = .none
usernameTextField.autocorrectionType = .no
usernameTextField.isSecureTextEntry = false

// PASSWORD 
passwordTextField.delegate = self
passwordTextField.textContentType = .newPassword  
passwordTextField.isSecureTextEntry = true    
passwordTextField.autocapitalizationType = .none
passwordTextField.autocorrectionType = .no

//CONFIRM PASSWORD
confirmpasswordTextField.delegate = self
confirmpasswordTextField.textContentType = .newPassword  
confirmpassowrdTextField.isSecureEntry = true                   
confirmpasswordTextField.autocapitalizationType = .none
confirmpasswordTextField.autocorrectionType = .no
}

The strategy I’m calling in ViewDidLoad()
What may very well be the rationale?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments