Search code examples
iphoneobjective-cipaduipagecontrol

clicking on dots on UIPageControl doesn't change page


So I just changed the PageControl project from Apple's site here. The issue is that clicking on the dots doesn't seem to change the page. What is wrong with that code?


Solution

  • From the code downloaded - (IBAction)changePage:(id)sender seems working pretty good, but as the comment says "load the visible page and the page on either side of it", it's not working at "1" and "6".