简体   繁体   中英

Storyboard: how to set initial viewcontroller for UIPageViewController with storyboard?

I love the storyboard approach. That clearly show the screen havagation logic. I want to specify the initial controller to be used by the UIPageViewController, but it doesn't appear.

Here is my storyboard: 所需的故事板行为

How can I define the segue to ViewControlelr that my UIPageViewController will populate first? I really want this transition to be visually displayed in the storyboard.

First select the specific controller that you want to make a root controller in the option window and then select is initial controller option it will make that first controller在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM