I had this exact same problem and finally found a complete fix.
The issue is that iOS system edge gestures intercept your touches before they reach your keyboard buttons. The solution requires targeting three separate mechanisms simultaneously:
here's the complete solution:
https://gist.github.com/hamdiqbal/f642e2d73d58e76f65a76dc10b44e725
The three reasons most solutions fail:
Only disabling delaysTouchesBegan — two other delay sources remain active
Only calling setNeedsUpdateOfScreenEdgesDeferringSystemGestures() once — iOS resets this during view transitions
Only fixing their own view — system gesture recognizers on parent views continue stealing touches
After implementing all three parts together my keyboard edge keys respond instantly — as fast as the native iOS keyboard.
Topic:
Developer Tools & Services
SubTopic:
General
Tags: