custom backspace button crashes iPhone app
<p>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?</p>

<p>My code:</p>

<pre><code> myText.text = [myText.text substringToIndex:([myText.text length]-1)];
</code></pre>
