objective c - Deleting charachters as long as button is pressed -


how can deleting characters interval long button pressed? have tried use longpressgesturerecognizer, got infinite loop.

if want change things that, have implement own text editor. default text editors react on keypress events auto repeated os after has been held down time. can change os settings minimize delay works on system-wide keypresses (and you). if want change behavior of specific text editor, have implement own text editor reacts on keydown/keyup events , handles repeating internally through timer.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -