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