FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

Adjust Sensitivty on Scroll to Next View

Open iPhonig opened this issue 4 years ago • 2 comments

I am using FSPagerView to flick through videos. I'd like to adjust the sensitivity of my flick to make it easier or more difficult to scroll to the next view. How can I accomplish this? I've looked into playing around with pagerViewDidScroll but I cant access the actual offset of the pager to set it. Any help would be appreciated!

iPhonig avatar Nov 19 '19 20:11 iPhonig

Bump

iPhonig avatar Dec 13 '19 20:12 iPhonig

An unsigned integer value that determines the deceleration distance of the pager view, which indicates the number of passing items during the deceleration. When the value of this property is FSPagerView.automaticDistance, the actual 'distance' is automatically calculated according to the scrolling speed of the pager view. Default is 1.

pagerView.decelerationDistance

willianB avatar Sep 01 '20 22:09 willianB