Search code examples
iosobjective-cicarousel

How do you change the wrap property for the iCarousel library?


I'm really confused. Do I have to go in the iCarousel.h file and change it there, or can I access the property in code and then reloadData?


Solution

  • There is a delegate method you can call:

    - (BOOL)carouselShouldWrap:(iCarousel *)carousel {
    //wrap all carousels
    return YES;
    }