Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nnavick

macrumors regular
Original poster
Hi,
Is there possibility to turn pages in UIPageControl automatically?
My goal is to turn page every 3 seconds automatically using NSTimer.

Thanks!

Edit:
Solved by using the code below

PHP:
 CGRect frame = sv.frame;
    frame.origin.x = frame.size.width * NPages;
    frame.origin.y = 0;
    [sv scrollRectToVisible:frame animated:YES];
 
Last edited:
Great, I guessed you used a timer (handy for reference if other people are in need of help!)
Second, you can set your thread as resolved, it's easier to find then.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.