I've created a custom view that acts like a UISlider
- there is a "track", and a handle to "grab" to change the value. For particular reasons, I can't just make it a subclass of UISlider
. I'm trying to make this slider as accessible as possible with VoiceOver. I have accessibilityIncrease
and accessibilityDecrease
on my custom view that handle single finger drag up
and single finger drag down
. This changes the value of the slider by 10% at a time.
However, I'd like to allow more fine grained control, just like a non-VoiceOver slider. By default , UISlider
has double tap and hold
, and you can drag up/down to "pan" the slider. I'd like to add exactly that to my custom view, but I can't find the correct incantation to handle the double tap and hold
gesture.
Is there something I can do to mimic the double tap and hold
gesture from UISlider
on my custom view?
Thanks very much!!!