UISlider events

前端 未结 4 2091
轮回少年
轮回少年 2021-02-05 09:12

I\'m using an UISlider, its updated automatically except the user is touching the sliderbutton. therefore i did this in the function which updates automatically by an NSTimer:

4条回答
  •  -上瘾入骨i
    2021-02-05 10:01

    when user touchs the slider you could set a boolean variable flag and make it NO. and in the update method check if the flag is YES or NO.

提交回复
热议问题