PDA

View Full Version : Backspace




arnieterm
May 15, 2009, 10:56 AM
For a text view, I am trying to capture the backspace/delete key press. For this I have written the below given code in the textview shouldChange method but oot able to capture the key
What other way is there to capture a backspace or delete key press
}
if ([text isEqualToString:@"\b"]) {
return YES;



jnic
May 15, 2009, 11:04 AM
Check to see if replacementString is empty.