views:

272

answers:

1

Hi all,

I have a UISlider that slides with a range from 0.0 to 1.0.

Out of the box, the slider lets users slide with a really high number of fraction digits, but I only want my users to be able to increment/decrement by .001 for each "tick" up or down of the slider.

Is this possible to set up?

Thank you!

+3  A: 

How big is this slider? Even if you've got it spanning the full width of the screen in landscape mode, a change of 0.001 is only about half a pixel. It sounds like you just need to round the slider's value (behind the scenes) to the precision you're after.

Noah Witherspoon