I am trying text field first character show lowercase, if I can type the upper case character also it has to be show the lower case. I tried this
func textField(_ textFieldToChange: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
signUpEmailTextField.autocapitalizationType = .none
}
But it's not working for me, my aim is when I type capital character also it should show the lower case in textfield.