问题
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?
回答1:
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
来源:https://stackoverflow.com/questions/13122925/show-uipageviewcontroller-that-doesnt-take-whole-screen