Search code examples
iosobjective-ccocoa-touchicarousel

determining if iCarousel has switched views


Is there a way to tell if iCarousel has not only activated the

- (void)carouselDidEndScrollingAnimation:(iCarousel *)carousel

function, but has also actually physically changed to a different image in the list? I currently have the program detecting scrolling animation changes but i need to know if it actually switched views or if it's just being moved around. They are different.


Solution

  • Check out the other protocol methods in the documentation:

    - (void)carouselCurrentItemIndexDidChange:(iCarousel *)carousel;