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?
Asked
Active
Viewed 283 times
0
-
That's what inside `replacementString`. – Sulthan Feb 11 '19 at 16:03
1 Answers
0
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool
where replacementString
is your answer

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