An app I am developing requires a three-point swipe gesture.
I have successfully implemented this using a UIGestureRecognizer
and it works fine for the most part.
However, if you switch the device Zoom accessibility setting on (Settings > General > Accessibility > Zoom) this stops the gesture from being recognized.
The Zoom function uses various three-point gestures to operate, so I can understand this superseding my app gesture.
However, does anyone know how I can determine if the Zoom setting is turned on (or the zoom accessibility gesture performed) so I can at least advise the user that the gesture will not be recognized?
Thanks!
If you're targeting iOS 5, take a look at UIAccessibilityRegisterGestureConflictWithZoom()
. While it doesn't tell you if Zoom is enabled, it will let your users know when there's a conflict.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With