Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Touch Delay
-
-
-
@JonB Good to know. I did not even think about searching the web 😅
-
@Varaxcale, affects me as well, at the very edge/tip of the arrow.
Implementing the status bar suggestion from @JonB’s link seems pretty tricky to me, as it would require subclassing the view controller.
-
Mikel, you could also swizzle the view controller, rather than subclass.
Of course the simpler option might be to just move the arrows away from the edge far enough so it is not an issue.
I wonder if simply hiding the status bar works the same way
-
-
In any case I don’t think that hiding the status bar has a big effect on recent iOS versions, where the swipe up gesture is now a multitasking, not control center gesture?
-
I found this doing a quick search and it seems to be at least similar to the issue I’m having. My device is an iPhone 6S Plus with 3D Touch. I added another arrow to the top of the screen just for testing. It suffers the same two seconds of delay that the bottom and left arrows do when touches are at the very edge of the screen. When I disable 3D Touch, the left arrow responds to touches correctly all the way to the edge of the screen. Unfortunately there is no change in the bottom or top arrows.
-
ok, good find. we can implement that solution:
from objc_util import * windows=list(UIApplication.sharedApplication().windows())+[UIApplication.sharedApplication().statusBar().window()] for w in windows: gr = w.gestureRecognizers() if gr: for g in gr: print(g) g.delaysTouchesBegan=False g.delaysTouchesEnded=False g.cancelsTouchesInView=False
I suspect that will fix the top/bottom edge delays?
edit: added the status bar gestureRecognizer.
-
That fixed it @JonB!
Thank you all for all of your help.
-
@JonB Not bad at all for an admin 😂
Sorry, I could not stop myself😇