I'm using this and it's working fine:
Code:
- (IBAction)mixButtonTapped:(id)sender
{
if (arc4random() % kNumImagesTops && arc4random() % kNumImagesBottoms)
{
[topsScrollView setContentOffset:CGPointMake(320, 0) animated:YES];
[bottomsScrollView setContentOffset:CGPointMake(320, 0) animated:YES];
}
}
My next problem is creating an Infinite Scroll.
Is this based on how you adjust the width alone or specifying how the images will be placed?