I have two concerns to ask.
I would like this scrolling be infinite. I do not want it to stop. I am using iCarousel
My second concern is, while time is passing, scrolling gets faster with the following code snippet. I would like to keep same speed.
-(void)viewDidAppear:(BOOL)animated
{
[carousel scrollByNumberOfItems:4 duration:20]
}
With the latest version of iCarousel as of January 02, 2015, you could add the following code in your ViewDidLoad
method in your Viewcontroller
.
- (void)viewDidLoad
{
[super viewDidLoad];
//configure carousel
carousel.type=iCarouselTypeCylinder;
carousel.autoscroll=0.4;
}