Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iCarousel Linear Type starts from center

I would like iCarousel to start appearing from left i.e it should be left aligned. I have found that in case of Linear Carousel it starts from center of the screen.

How can I make the Linear Carousel to start from left?

like image 286
Zeeshan Jan Avatar asked Jan 22 '13 07:01

Zeeshan Jan


2 Answers

In my case, I was helped by the use of the method [self.vwCoverFlow scrollToItemAtIndex:2 animated:YES]; in my viewDidLoad.

like image 91
Pavel Rudkouski Avatar answered Oct 03 '22 01:10

Pavel Rudkouski


If you want a linear scrolling , you can use swipeView class , it is from the same developer as iCarousel but for linear scrolling only . I have used it and it do support left alignment . Its easy to add and used, same as iCarousel

here is the link for the code https://github.com/nicklockwood/SwipeView

like image 20
Ankit Avatar answered Oct 03 '22 01:10

Ankit