ios8 - UIPageViewController and transparent page backs -


can problem uipageviewcontroller giving transparent page backs?

i have project displaying mock-ups of old newspapers. setting double sided true , have blurred , mirrored images page backs.

one prototype version okay , looks page turns:

enter image description here

however, updated version different background looks this:

enter image description here

as can see, curled page transparent.

i think code same in each case although uiview hierarchy different.

can me out explaining might cause?

many thanks!

this problem appears due fact had sublayertransform in place not identity matrix. resetting before using uipageviewcontroller fixes it.

let noperspective = catransform3didentity self.view.layer.sublayertransform = self.noperspective

this interfered uipageviewcontroller's animation.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -