How to Cancel Scrolling in UIScrollView

前端 未结 6 1967
情话喂你
情话喂你 2020-12-28 18:14

I use UIScrollView to make large-sized (larger than 320px) UI on iPhone.

I made an instance of UIScrollView and added some subviews on it. The problem is that I want

6条回答
  •  一生所求
    2020-12-28 18:43

    You can also sublcass UIScrollViewController and override the touchesBegan, touchesMoved and touchesEnded methods. If your implementation never calls the superclass implementation, then it won't scroll.

提交回复
热议问题