*II am implementing Save passworda "save password" feature on sign up. Where, where I have 3 textfieldstext fields: Username,password password and confirm password. My
My problem is if I remove confirm password textfield save password POP up"confirm password" text field, a "save password" PopUp comes and I am able to save the password, but I want confirm passworda "confirm password" text field as well. As soon as I add confirm password textfielda "confirm password" text field it stops showing me save password popup ?? I have added below"save password" PopUp.
This 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
}
This method I am calling in ViewDidLoad()
WhatThe method I am calling in ViewDidLoad()
What could be the reason?
Any help will be appreciated. Thanks**