0

I have to change the phone number string coming from AutoFill and then write to textfield. I used this method to detect AutoFill. But I have no access to string in that method. Is it possible?

Mahmut Acar
  • 713
  • 2
  • 7
  • 26

1 Answers1

0
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool

where replacementString is your answer

Ankur Lahiry
  • 2,253
  • 1
  • 15
  • 25