How to override three finger accessibility zoom gesture?
I am trying to create a gesture recognizer that responds to three touches, but the gesture is ignored if the user has the accessibility zoom feature enabled, which triggers off a three finger double tap.
My view uses massive UI elements, so zooming is not appropriate. Is there an api to disable the accessibility zoom so I can respond to a three finger tap?
You could try posting a UIAccessibilityPauseAssistiveTechnologyNotification
though I believe this only refers to external ATs, and not to VoiceOver and Zoom features. Though I have not played around with it much.
EDIT: I just checked, the constant for disabling the zoom feature is not available in UIAccessibilityConstants.h
. So this will not work, meaning there is no viable solution for this.
下一篇: 如何覆盖三个手指的可访问性缩放手势?