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
Post a Comment