Reputation: 3975
I'm using iCarousel in rotary mode. I'd like to have my views scrolled one by one in a paginated way. I've tried many settings but couldn't manage to do that.
The settings i'm looking for is a bit like "pagingEnabled" in UIScrollView, but with the addition that a swipe motion should never scroll more than one view. I tried to perform "[stop animation]" in the "carouselCurrentItemIndexDidChange" method without luck.
I first thought that stopAtItemBoundary property would let me do that, but it doesn't. I just means the carousel will stop at an item, but i lets the user swipe more than one at a time.
Anyone ?
Upvotes: 3
Views: 1638
Reputation: 24
Set 'isPagingEnabled = true'. This would help
This is available in latest version of iCarousel. But it won't help in auto scroll though.
Upvotes: 0
Reputation: 41005
set decelerationRate to a lower value like 0.5.
You may need to tweak this value to suit your view sizes, but it will have the effect of reducing the distance the carousel moves when flicked.
Upvotes: 1