Can UIScrollView's deceleration rate be modified?

前端 未结 5 703
失恋的感觉
失恋的感觉 2020-12-14 01:36

Since this question was originally asked, UIScrollView deceleration rate customization has been added via the decelerationRate property introduced in OS 3.0.

5条回答
  •  执笔经年
    2020-12-14 02:18

    This is possible, but you'd have to subclass UIScrollView and override all the touch handling. It wouldn't be my project of choice - it would take a good bit of work to get it right.

提交回复
热议问题