VegaScroll
VegaScroll copied to clipboard
ScrollToItem(at:) programmatically - Can I control the speed of animation?
Hi, I would like use VegaScroll in user-disabled mode and call action on button press to scroll to the next index. It all works fine, only problem is, that the animation is too fast and it doesn't look that great.
I found only one way to control it in viewDidLoad method:
collectionView.decelerationRate = UIScrollViewDecelerationRateNormal
But that doesn't quite do the trick. Is there a way to control the speed of scroll animation directly in VegaScroll class?
Thank you