我有一个容器UIViewController
(IntroViewController),其中我加载UIPageViewController
(PageViewController)。在UIPageViewController
中,我有IntroPageContentViewControllers
和LastIntroPageContentViewController
。iOS UIPageViewController与背景
我想有在UIPageViewController
的背景图像。如果我把它放在IntroViewController
中,它是不可见的。我不能把它放在UIPageViewController
中,当我把它放入其中一个时,它会滚动出入每一页。我希望它在一个地方,只能滚动内容。
我在哪里把UIImageView
和我应该在哪里bringSubviewToFront
或类似的东西?
感谢您的回答!我喜欢你在Github上的例子,非常聪明。 我会克隆并看看它是如何工作的。我确实需要容器控制器上的白色背景,然后在其上放置一个图像,所以我会尝试。 – jbehrens94