Nathannn
Nathannn

Reputation: 161

UIPageViewController inside a UIPageViewController

Swift only

I created a fully functional UIPageViewController with 3 different UIViewController's, is it possible to create another UIPageViewController inside one of those UIViewController?

For example, i am on the last UIViewController if i swipe to the left(<--) i can access another UIViewController and if i swipe to the right(-->) i return to the lastUIViewController.

Check Image.

I used segues so you know which UIViewControllerthat is connected with which UIPageViewController

Swift only

Upvotes: 0

Views: 426

Answers (1)

Tim
Tim

Reputation: 2098

Your last page from the first navigation stack should segue to the second PageViewController, not to a ViewController

Upvotes: 1

Related Questions