After update on Xcode Version 14.3 (14E222b) all functions shouldChangeCharactersIn are called twice. I've checked all sources and even new projects are with the bug
After update on Xcode Version 14.3 (14E222b) all functions shouldChangeCharactersIn are called twice. I've checked all sources and even new projects are with the bug
You haven’t given us a lot to go on here. My best guess is that shouldChangeCharactersIn
is some sort of delegate method. Is that right? If so, what object is it associated with?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
shouldChangeCharactersIn is delegate method for UITextField and UITextView which is called when user enters or removes anything in the respective fields. I have also observed this wrong behaviour with iOS 17 that its called twice for single entry removal from UITextField and UITextView