Touch on UISlider prevents scrolling of UIScrollView

前端 未结 5 1579
日久生厌
日久生厌 2021-02-20 10:28

I have a (vertical) UISlider inside a UIScrollview. I\'d like to be able to change the value of the slider, and, without lifting my finger, scroll the scrollview left or right.

5条回答
  •  失恋的感觉
    2021-02-20 11:04

    I think you can get some reference from this example in this example it is shown that how to cancel any touch or any gesture recognizers and apply them to other views.

    May this lead you to the solution of your problem and if it will just let me know about it

    Happy Codding :)

提交回复
热议问题