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:
however, updated version different background looks this:
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
Post a Comment