zt9788
zt9788

Reputation: 958

IOS how make iCarousel scroll like UIScrollView page

i want use iCarouse to implement scroll by page that is like UIScrollView paged

iCarouse code://it is not work

carousel.delegate = self;
carousel.dataSource = self;
carousel.scrollSpeed = 0.8f;
//carousel.wrapEnabled = YES;
carousel.stopAtItemBoundary = YES;
carousel.scrollToItemBoundary = YES;
carousel.type = iCarouselTypeCoverFlow;

scroll code:

[scrollView setPagingEnable:YES];//I want to achieve this

Upvotes: 1

Views: 4594

Answers (2)

andrey.krukovskiy
andrey.krukovskiy

Reputation: 847

Use carousel.pagingEnabled = YES;

Upvotes: 1

Christos Koninis
Christos Koninis

Reputation: 1678

Use this:

carousel.decelerationRate = 0.0f;

Upvotes: 4

Related Questions