Quantcast
Channel: User Bazinga - Stack Overflow
Viewing all articles
Browse latest Browse all 37

iCarousel scroll

$
0
0

How to scroll in a specific item or index, for example: I set an NSInteger on another UIView then pass it to my iCarousel.In my other UIView I set the NSInteger like this:

[[NSUserDefaults standardUserDefaults] setInteger:button.tag                                           forKey:@"integer"];[[NSUserDefaults standardUserDefaults] synchronize];

When scrolling I use this :

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

how to pass the integer to the carousel, to make it scroll then stop it to that specific item or index.


Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>