nonuma
nonuma

Reputation: 399

Putting a bar on the bottom of the UIPageViewController

I'm using the UIPageViewController in my storyboard and I want to create a bar on the bottom of the screen with a label on it. So something like the navigation bar, this always stays there when you switch pages from the UIPageViewController. However on my storyboard I cannot drop a view or label on the PageViewController, how can I achieve this? Example: enter image description here

Upvotes: 2

Views: 1478

Answers (1)

Suhas
Suhas

Reputation: 1500

Embed the PageViewController in a container which is added on another View controller. This image will explain it better.

enter image description here

Once that is done you can add the custom view as a subview over it.

Upvotes: 5

Related Questions