How do I set a Xamarin.Forms custom slider to update on tap on iOS?

23 views Asked by At

I am using the MaterialSlider from this nuget package. I am aware of the slider.On<iOS>().SetUpdateOnTap(true); from here, but the MaterialSlider is a custom control with a private CustomSlider (inherits from Slider) within the class, so using .SetUpdateOnTap(true) directly on the MaterialSlider does nothing.

So my question is, how can I override the MaterialSlider to allow updating the value via taps and not just by dragging the thumb? I'm not too familiar with custom controls yet, so I don't really know where to start. Thanks.

0

There are 0 answers