UIImageView resizing issue in UIPageViewController

后端 未结 3 1410
悲哀的现实
悲哀的现实 2021-02-07 10:06

I\'m building a new app and wish to have a \"Welcome walkthrough\" at the beginning wherein I have a storyboard with a series of images presented in a UIPageViewController. I ha

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-07 10:46

    From the video I think you could solve this by preventing the UIPageViewController from extending under the top bars.

    In xcode you can do this using the attribute inspector for the page view controller by deselecting Extend Edges Under Top Bars.

    This should prevent it paging in under the status bar I think helping to avoid the switch you see.

提交回复
热议问题