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

How do you go about adding a UIPageViewController to a page inside a UINavigationController stack?

I have seen many tutorials for making a UIPageViewController as the primary entry point to an app, living on the main ViewController page.

Instead of it being the default view, I would like to embed a UIPageViewControllermini-tutorial on a page that is accessed from within my app using a button on a page that is controlled by a UINavigationController.

I have create a seque from my NavigationController to the new ViewController, then customized that VC's class just like the tutorials normall do on the entry page, but it doesnt seem to work. I get cryptic "bad access" errors. I feel like I'm missing something small.

Anyone have advice on how to set up the storyboard for this?

Thanks for reading.