Re: Implementing Two Different Gestures to Adjust Value With VoiceOver on iOS?
Re: Implementing Two Different Gestures to Adjust Value With VoiceOver on iOS?
- Subject: Re: Implementing Two Different Gestures to Adjust Value With VoiceOver on iOS?
- From: Chris Fleizach <email@hidden>
- Date: Sat, 26 May 2018 23:56:10 -0700
> On May 26, 2018, at 1:07 AM, James Lee <email@hidden> wrote:
>
> Hi,
>
>
> With UIAccessibilityTraitAdjustable, accessibilityIncrement, and
> accessibilityDecrement, it's easy to implement a way to adjust value for a
> control.
> However, it seems like VoiceOver has two gestures to adjust a value.
>
> 1. Simply swipe up/down with one finger.
This will trigger axIncrement and axDecrement
> 2. Double tap and hold, wait for the sound effect, and drag your finger.
This will trigger the standard gesture interaction methods (like touchesDown:)
At which point you can use
UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, ... )
to communicate what changed
> Is there way to distinguish two gestures and implement two different ways for
> how the value gets adjusted?
>
> Thanks!
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden