I use open source, iCarousel
in my application to bring the carousel control. The carousel type which I use is iCarouselTypeRotary
and the images are arranged linearly in this type. But, I need the images to bring like the carousel in the attached images. What should I do to make my carousel little tilted to the top view as the style in the below images? Kindly help. Thanks in advance.
You can implement 3D tilt manually:
In
iCarousel.m
:574
change to:
To make the code clear and reusable, implement tilt offset as option (similar to
iCarouselOptionArc
).PS: If you want perspective scaling, you will need to add scale transform that depends on
cos(angle)
similarly totilt
.Check by using the style:
iCarouselTypeWheel
use the horizontal wheel set the radius of the wheel as you want. I have done this in vertical wheel type. But i think it should the appearance as above using horizontal wheel type.