如何滚动特定项目或索引,例如:我NSInteger在另一个上设置一个UIView然后将它传递给我的iCarousel. 在我的另一个UIView中,我设置NSInteger如下:
[[NSUserDefaults standardUserDefaults] setInteger:button.tag
forKey:@"integer"];
[[NSUserDefaults standardUserDefaults] synchronize];
滚动时我使用这个:
[carousel scrollByNumberOfItems:-35 duration:10.7550f];
如何将整数传递给轮播,使其滚动然后将其停止到该特定项目或索引。