In my app, I have a couple of UISlider instances to change various values. The values are displayed right next to the slider, as well as rendered in a 3d space in another visibl
You can do this with simple target/actions.
Set a target and action for the UIControlEventValueChanged
event, and then another target and action for the UIControlEventTouchUpInside
event. With the continuous
property set to YES
, the value changed event will fire as the slider changes value, while the touch up inside event will only fire when the user releases the control.