Is it possible to read the current value from the slider without clicking on it? that is, the slider moves according to some algorithm. and it is necessary to remove the current value without clicking on it.

Now I read the value like this

float currentSlide = [_AnimSlide doubleValue];

However, the value is not read until you click on the slider with the mouse.

  • Everywhere they write that doubleValue should work. and what does he give you back? - Max Mikheyenko
  • I'm using doubleValue. The trick is that it removes the value when I release the mouse. But you need to shoot the value when the values ​​just change on the slider - Ray

1 answer 1

It is necessary to set the flag _AnimSlide.continuous = YES , then with any changes in the position of the slider will be updated its value.