I have a UIPageViewController
with multiple pages, and every time I scroll to a new page the content is slightly under the top layout guide
. But when the view is finally displayed to the user/ settled in the middle, it moves down as it should've been.
I'm using autolayout
in storyboards
to lay out my content, and I've set the Top Space to Top Layout Guide: 5p
.
This only seems to happen when using a UIPageViewController
- I don't have this problem with AutoLayout
normally, and this is not the first time I've had it with the pageview controller
.
Does anyone know what I can do so the view is correctly placed under the top layout guide before it's presented to the user, so it doesn't jump as soon as it's presented?