I'm implementing an app where the user is able to insert UIImageViews on top of the UITextView view. I also insert some characters beneath the UIImageViews to help with removing them via backspace.
However, the problem is that when tested on a device, the backspace deletion speeds up with time, and starts erasing entire words and then lines, which makes the cursor skip my special characters and leave my UIImageViews on display !
There are many ways to detect the backspace call, and that's not the issue. However, the "speed up" is implemented via private methods, which makes intercepting, yet alone detecting it next to impossible !
I've been struggling with this issue for quite some time now, and normally have exhausted all the hacks around the web, with no luck :\
(tried everything from detecting keyboard characters right down to dynamic subclassing !!)