I am trying to simulate a keyboard interface using buttons and labels…
I understand that the method:
stringByAppendingString:
allows me to append the label by a string.
The question is… I’m trying to implement a backspace button in my code…
Every time it is pressed, I’d like to be able to simulate a backspace by removing 1 character at a time. How do I do this?
Not entirely sure that’s what you want, but you can use
NSString‘ssubstringToIndex: