ios - Reset background in UIPageViewController -
i have uipageviewcontroller
displaying uiimageview
.
i can swipe , displayed correctly: image 1
there "edit" button pushes viewcontroller
on screen:
self.navigationcontroller!.pushviewcontroller(editpictureviewcontroller, animated: true)
when editpictureviewcontroller
closed:
- either clicking button
- or calling done button
navigationcontroller?.popviewcontrolleranimated(true))
the background of uipageviewcontroller
not white anymore: it's "image 1" (the image displayed before editpictureviewcontroller
pushed). if swipe see previous image, background not white. see here: image 2
what's problem background?
ok found issue... initiating uipageviewcontroller in viewwillappear instead of viewdidload :-/
Comments
Post a Comment