I am trying to get a character count while typing into a UITextField. I use UIControlEventEditingChanged notification to then get the current count:
[textField addTarget:self action:@selector(handleTextDidChange:) forControlEvents:UIControlEventEditingChanged];
The code is working fine and fired whenever I type any new characters into the field. It is also fired whenever I delete any characters EXCEPT for when it is the only remaining character in the text field.
Any ideas why?