I have a UIPageViewController using transitionStyle .pageCurl. I noticed that when turning the page, the front of the turning page shows trough on the back of this turning page. This is the case even when there is a solid background and even if isOpaque is true for the viewcontroller's view of the turning page.
Apple's documentation for isDoubleSided states:
If the back of pages has no content (the value is false), then the content on the front of the page will partially show through to the back when turning pages.
Is there any way to change this behavior, so that the back of the page just shows the solid background (and not anything else that might be on top of it)?
First thought ... use a Double-Sided page view controller, and insert a "blank" page after every "real" page.
Quick example...
I'll use a "base" view controller to hold two Child page view controllers - one single-sided, the other double-sided. We'll create the pages arrays in that "base" controller, inserting the blank (dark-gray) pages into the array for the second one:
Base controller - will hold two instances of a page view controller as children:
SamplePageViewController - pretty standard:
MyExamplePageViewVC - again, pretty standard... each page will have a label that fills most of the frame:
Looks like this when running: