ios - iCarousel scroll -


how scroll in specific item or index, example: set nsinteger on uiview pass icarousel. in other uiview set nsinteger this:

[[nsuserdefaults standarduserdefaults] setinteger:button.tag                                            forkey:@"integer"];  [[nsuserdefaults standarduserdefaults] synchronize]; 

when scrolling use :

[carousel scrollbynumberofitems:-35 duration:10.7550f]; 

how pass integer carousel, make scroll stop specific item or index.

- (void)scrolltoitematindex:(nsinteger)index animated:(bool)animated;` 

clearly stated , described in readme. first method under methods

or, if prefer:

- (void)scrolltoitematindex:(nsinteger)index                     duration:(nstimeinterval)scrollduration;` 

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -