JT3DScrollView icon indicating copy to clipboard operation
JT3DScrollView copied to clipboard

Less "sticky" scrolling

Open andrewzboard opened this issue 6 years ago • 0 comments

This is a beautiful, succinct solution. I was wondering how to get the scroll to spin more freely, that is to go through more cards before stopping. I got the perfect answer here :

https://stackoverflow.com/questions/11561992/sensitivity-scroll-speed-of-uiscrollview-with-paging

In brief, turn off the isPagingEnabled flag, and implement the delegate method scrollViewWillEndDragging. (The stackoverflow answer sets the scroll deceleration to fast, but it should be normal.)

andrewzboard avatar Jun 21 '18 18:06 andrewzboard