Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Nick Sint
Nick Sint
4,208 Points

UIPageViewController and UIPageControl

Hi,

I have a question with regards to implementing a UIPageViewController with a UIPageControl (i.e. the dots on the bottom).

I was hoping someone could help me as I am not so sure how it all works.

My initial idea was to take the files generated from creating a new PageViewController project and then alter it so that instead the images I want displayed are seen. It should look something like the images shown here:

https://github.com/MatthewYork/iPhone-IntroductionTutorial

I would use cocoapods; however, I need to customize certain elements and need to add some intractable objects on top of the uipageviewcontroller.

I'll take a look at it and get back to you.

1 Answer

OK,

I am really sorry for taking half a month but I have an answer. My answer is not all that flattering but definitely look up the documentation on pageView, the're very similar to scroll view (tableViews, collectionViews) but a lot less used. to do this you should probably build it yourself and not use cocoa pods, although cocoa pods are possibly the worlds best invention ever. anyways this is not all that hard, it's very similar to other view and look up documentation.

any further info let me know, Kai.