UITextField Keyboard backspace issue

Discussion in 'iOS Programming' started by Ankitthakur, May 5, 2011.

  1. macrumors newbie

    Jan 23, 2009
    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

Share This Page