bh213
bh213

Reputation: 6529

Show UIPageViewController that doesn't take whole screen

I'd like to show a book on landscape iPhone that would use page curl from UIPageViewController, but I'd like book not to take the whole screen.

To clarify, let's say background is a wooden desk image and there is book on it that can be browsed using UIPageViewController and page curl but only book pages participate in page curl, background is completely static.

Is this possible?

Upvotes: 5

Views: 4129

Answers (1)

Paul de Lange
Paul de Lange

Reputation: 10633

Yes it is possible. I have a UIPageViewController using on half the screen for example. The secret is to add it into a parent view controller that is a custom container view controller

Upvotes: 1

Related Questions