iCarousel自动滚动显示不平滑

iCarousel自动滚动显示不平滑,icarousel,Icarousel,当我为自动滚动指定时间间隔0.0333时,自动滚动显示平滑。但是,如果我为自动滚动5.0秒指定时间间隔,则自动滚动显示不平滑。iCarousel中有动画持续时间吗?试试这个 [_icarousel scrollByNumberOfItems:85 duration:10];//scrolls 85 items in 10 seconds 转到iCarousel.m文件并在setUp方法中添加以下代码行 - (void)setUp { _autoscroll=1; } 如何自动滚动iC

当我为自动滚动指定时间间隔0.0333时,自动滚动显示平滑。但是,如果我为自动滚动5.0秒指定时间间隔,则自动滚动显示不平滑。iCarousel中有动画持续时间吗?

试试这个

[_icarousel scrollByNumberOfItems:85 duration:10];//scrolls 85 items in 10 seconds

转到iCarousel.m文件并在setUp方法中添加以下代码行

- (void)setUp
{ 
   _autoscroll=1;
}

如何自动滚动iCarousel?以前,我使用基于偏移量的自动滚动,因为这一点,我遇到了问题。我使用了scrollToItemAtIndex,而不是使用偏移量。它解决了我的问题。