ios - Making a UISlider move back and forth on its own -


In my current project I have created an app that displays the status of the UI slider in relation to a target value. I have got full functionality, but now I am trying to make a little spice.

Is it possible to move the UISLider forward and backward (from maximum to maximum) to (at least maximum) when users drag it instead of entering the app?

Thoughts:

Probably use a looping sequence?

I do not see anyone to code this code, I enjoy this part very much. Just looking for guidance.

For further answer to NSTimer, I do not recommend using it, but instead of CADisplayLink. Similar process, but instead of using NSTimer, use CADisplayLink.

The CADisplayLink screen synchronizes with the refresh rate, so that you can adjust the animation and slider values ​​based on the current frame, so that the animation looks smooth.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -