From the course: Learning Apple tvOS App Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Understand UISplitViewController

Understand UISplitViewController

From the course: Learning Apple tvOS App Development

Start my 1-month free trial

Understand UISplitViewController

- [Instructor] Using a tab bar controller is pretty common on tvOS, because it gives you a great way to distinguish between different app features, so is also different master-detail scenarios that you'll know from iOS development. And what we want to do here is implement a master-detail scenario by using a split view controller for our second tab. So to add a split view controller, all I have to do is press command shift L on my keyboard to open up my object library enter split, and here we go, we have the option for the split view controller, and just drag and drop that to my view controllers in my main storyboard and here we go. I get a lot of view controllers here actually, as you can see, we have four different view controllers here. Actually, we have the split view controller, we have an additional navigation controller, we have a view controller, and a root view controller. And we're going to need three of them, not all of them, but three of them, and what we can do here to…

Contents