when i set decelerationRate = 0.0f for iCarouselTypeLinear mode. If scroll fast, it will also trigger decelerating. I found the reason is the following method return YES:
(BOOL)shouldDecelerate
{
return (fabs(_startVelocity) > SCROLL_SPEED_THRESHOLD) &&
(fabs([self decelerationDistance]) > DECELERATE_THRESHOLD);
}
how can i avoid this? thanks.
when i set decelerationRate = 0.0f for iCarouselTypeLinear mode. If scroll fast, it will also trigger decelerating. I found the reason is the following method return YES: