I see that UIScribbleInteractionDelegate has scribbleInteraction(_:shouldBeginAt:) that you can always return false from in order to disable scribble. Is there any way to disable it in a website via javascript or dom attributes?
Post
Replies
Boosts
Views
Activity
I am working on a website where we want to use the pinch gesture on your trackpad to zoom a canvas. If the user pinches the screen, I can use the PointerEvents to handle the pinch-zoom gesture. On a Mac, I use the wheel event. But on an iPad Pro with the Magic Keyboard(+trackpad) attached, if you pinch on the trackpad there's no way to detect it in the webpage. No Touch/PointerEvents are generated, and it just zooms the page in, even though we have user-scalable=no in the head.
How can i detect this event, and how can i prevent it from scaling the webpage?