I have a scroll view set up with paging. How would i programmatically jump to a specific page in the scroll view. The content size is self.scrollView.contentSize = CGSizeMake(1280, 568);
. Thanks.
Asked
Active
Viewed 66 times
0

rmaddy
- 314,917
- 42
- 532
- 579

user3186310
- 149
- 2
- 15
-
See http://stackoverflow.com/questions/6530259/uiscrollview-to-jump-particular-page?rq=1 – rmaddy Apr 13 '14 at 02:22
1 Answers
2
You can use – setContentOffset:animated:. You would do your own math to decide what a "page" is but you would probably base it off the bounds of the scroll view.

drewag
- 93,393
- 28
- 139
- 128