I have used iCarouselTypeRotary for some scrolling effect in my app, but currently the scrolling is enabled with only the view which is in front (selected), I want the scroll to be enable within the whole view.

Can anyone suggest me how to achieve this?

I have used the caraousel from here. https://github.com/nicklockwood/iCarousel

Any suggestions will be appreciated.

Thanks

有帮助吗?

解决方案

Kindly make the iCarousel frame as self.view.frame This way you can use the iCarousel to the fullest of its capability.

However you can decrease the size according to your needs. Also change the backgroundcolor of iCarousel, so that you can see the frame size & adjust it to needs.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top