0

当我为自动滚动 0.0333 指定 timeInterval 时,自动滚动看起来很流畅。但是,如果我将 timeInterval 指定为自动滚动 5.0 秒,则自动滚动不会显得平滑。iCarousel 中是否有动画时长?

4

2 回答 2

0

试试这个。

[_icarousel scrollByNumberOfItems:85 duration:10];//scrolls 85 items in 10 seconds
于 2013-11-18T11:37:15.107 回答
0

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

- (void)setUp
{ 
   _autoscroll=1;
}
于 2015-01-02T21:40:50.910 回答