我希望使用iCarouse逐页实现,就像UIScrollView paged
一样iCarouse代码://它不起作用
carousel.delegate = self;
carousel.dataSource = self;
carousel.scrollSpeed = 0.8f;
//carousel.wrapEnabled = YES;
carousel.stopAtItemBoundary = YES;
carousel.scrollToItemBoundary = YES;
carousel.type = iCarouselTypeCoverFlow;
滚动代码:
[scrollView setPagingEnable:YES];//I want to achieve this
答案 0 :(得分:4)
使用此:
carousel.decelerationRate = 0.0f;
答案 1 :(得分:1)
使用carousel.pagingEnabled = YES;