问题
Auto scrolling appear smooth, when I specify timeInterval for auto scroll 0.0333. But, If I specify timeInterval for auto scroll 5.0 sec, the auto scroll not appear smooth. Is there any animation duration in iCarousel?
回答1:
Try out this.
[_icarousel scrollByNumberOfItems:85 duration:10];//scrolls 85 items in 10 seconds
回答2:
Go to iCarousel.m file and add the following line of code inside the setUp method.
- (void)setUp
{
_autoscroll=1;
}
来源:https://stackoverflow.com/questions/15790311/icarousel-auto-scrolling-not-appearing-smoothly