UISlider custom step

I just download the Park Guides app (by National Geographic) and I wonder what the best way to implement their UISlider. It works step by step, and it's really nice to set up.

Ideas? :)

enter image description here

+4
source share
1 answer

I would not use UISlider for this. I would probably start using UISegmentedControl . It has a set of methods to customize its appearance, which you could use to make it all look.

Otherwise, I would build my own control. UISlider may work, but in fact it is not intended to be used for such discrete intervals.

+3
source

All Articles