I solved the problem of changing behavior of shouldChangeChractersInRange. If you return NO, the changes will not be applied by iOS internally; instead, you have the option to change it manually and perform any actions after the changes.
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
Pauls Nov 11 '13 at 15:31 2013-11-11 15:31
source share