custom backspace button crashes iPhone app
Posted
by user319097
on Stack Overflow
See other posts from Stack Overflow
or by user319097
Published on 2010-04-17T06:41:57Z
Indexed on
2010/04/17
6:53 UTC
Read the original article
Hit count: 177
iphone
I have a custom keyboard and whenever I touch the backspace button for the first time my app crashes! How can I solve this problem?
My code:
myText.text = [myText.text substringToIndex:([myText.text length]-1)];
© Stack Overflow or respective owner