Reply to UITextfield crash in iOS 13 using textField:shouldChangeCharactersInRange:replacementString if you mutate the state of the text on a UITextField (Like [textField setText:text]) during swipe entry , it'll make shouldChangeCharactersInRange called repeatedly and your app goes into an infinite loop (even if you return false in func) UI Frameworks UIKit Nov ’20