iCarousel auto scrolling not appearing smoothly

2019-08-23 06:55发布

问题:

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;
}


标签: icarousel