Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ankitthakur

macrumors newbie
Original poster
Jan 23, 2009
3
0
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 :
UITextFieldTextDidChangeNotification

Please help.

Thanks
Ankit Thakur
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.