I have this code for a scrollView (with paging enabled)
- (IBAction) random{
CGRect frame = scrollView.frame;
frame.origin.x = frame.size.width * (arc4random() % (numberOfPage - 1));
frame.origin.y = 0;
[scrollView scrollRectToVisible:frame animated:YES];}
It make a random paging scroll and it's ok, but it is very slow. Can I have a fast scrolling as a slot machine?