From the course: iPadOS 13 Development Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Create a tabbed app - iOS Tutorial
From the course: iPadOS 13 Development Essential Training
Solution: Create a tabbed app
(upbeat music) - [Instructor] So here is my solution to the challenge and of course your solution may be a little bit different. So, the first thing I did is I made new SwiftUI views. You can do that with cmd+n and choosing SwiftUI View in the user interface. And that actually gives you the preview, the body, and importing SwiftUI and everything. So it's a pretty good starter, then you can paste in the code that we wrote earlier. So, here is just the exact same video player that we created previously. I just wrapped it in this VideoView object. Then we have our drag-and-drop view, which is the same thing. It's called drag-and-drop view. So we can simply create one of these, instead of all having everything in one file. let's go over to content view, and what we're going to do here is delete our text object and create a tab view. And in the tab view, I'm going to create both of our views. So we have VideoView and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.