how to programatically set the current page for UIPageControl?

Posted by RexOnRoids on Stack Overflow See other posts from Stack Overflow or by RexOnRoids
Published on 2010-03-24T14:04:06Z Indexed on 2010/03/24 14:13 UTC
Read the original article Hit count: 740

I have 3 "pages" (page 0, page 1, page 2) in a UIScrollView that are snapped to by finger swipes. There is a UIPageControl there too. The UIScrollView starts off presenting page 0. What I want to do is present page 3 FIRST sometimes. How can I do this programatically.

Simply setting currentPage (of UIPageControl) to the page number does nothing by the way.

© Stack Overflow or respective owner

Related posts about uipagecontrol

Related posts about uiscrollview