我有一個容器UIViewController
(IntroViewController),其中我加載UIPageViewController
(PageViewController)。在UIPageViewController
中,我有IntroPageContentViewControllers
和LastIntroPageContentViewController
。iOS UIPageViewController與背景
我想有在UIPageViewController
的背景圖像。如果我把它放在IntroViewController
中,它是不可見的。我不能把它放在UIPageViewController
中,當我把它放入其中一個時,它會滾動出入每一頁。我希望它在一個地方,只能滾動內容。
我在哪裏把UIImageView
和我應該在哪裏bringSubviewToFront
或類似的東西?
感謝您的回答!我喜歡你在Github上的例子,非常聰明。 我會克隆並看看它是如何工作的。我確實需要容器控制器上的白色背景,然後在其上放置一個圖像,所以我會嘗試。 – jbehrens94