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

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
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
}
Code:
if ([text isEqualToString:@"\b"]) {
		return YES;
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.