custom backspace button crashes iPhone app
- by user319097
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)];