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)textFieldUITextField *)textField
shouldChangeCharactersInRangeNSRange)range replacementString:
(NSString *)string
when there is no text, this method is not getting called.
2) Similar issue occurs with notification :
UITextFieldTextDidChangeNotification
Please help.
Thanks
Ankit Thakur
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)textFieldUITextField *)textField
shouldChangeCharactersInRangeNSRange)range replacementString:
(NSString *)string
when there is no text, this method is not getting called.
2) Similar issue occurs with notification :
UITextFieldTextDidChangeNotification
Please help.
Thanks
Ankit Thakur