I am creating an iOS keyboard extension with UIInputViewController
, and using UIButton
for each key. I have two issues:
I assume first one happens when I type too fast, or when touch area is too big (bigger than the button). I tried using different methods of detecting touch (button target
, touchesBegan
, touchesEnded
, UITapGestureRecognizer
) and all have the same issue.
I assume second happens because of the iOS edge false touch rejection. I tried changing preferredScreenEdgesDeferringSystemGestures
but it had no effect.
Please help.
.allowUserInteraction
in the animation options.UILongPressGestureRecognizer
with minimumPressDuration = 0
which, for some reason, is always instant even at the edges.