I have a horizontal scrollView which contains 2 images.The scrollView is circular.What I want to do is to set automatic scroll after a few seconds.Any idea how could I do that?
I tried the following:
[UIScrollView beginAnimations:@"scrollAnimation" context:nil];
[UIScrollView setAnimationDuration:5];
[UIScrollView setContentOffset:CGPointMake(self.view.frame.size.width, 0)];
[UIScrollView commitAnimations];
but this: [UIScrollView setContentOffset:CGPointMake(self.view.frame.size.width, 0)]; is not recognized.Any idea?Thanks
Do Something like this 🙂