View Full Version : UITextField Keyboard backspace issue

May 5, 2011, 05:50 AM
Hi team,

I want to detect when the user is clicking on backspace key in
keyboard. The issue occurs when there is no text in keyboard and the
user hits backspace. How could we detect this event. I tried with
1) - (BOOL)textField:(UITextField *)textField
shouldChangeCharactersInRange:(NSRange)range replacementString:
(NSString *)string
when there is no text, this method is not getting called.
2) Similar issue occurs with notification :

Please help.

Ankit Thakur