From the course: Complete Guide to SwiftUI

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Clean up joined views

Clean up joined views

- [Instructor] We've messed with a few things in the app's menu view, and before we go farther, I want to clean up that title and review some of the modifiers we've learned so far 'cause I think it'll be kind of useful for you to see something. This is a common occurrence, you have two views and then you combine them. You want to move around some of the modifiers so they work better in that circumstance and check what's good. And I do have a bunch of those that I want to look at here. First of all, I really don't like this frame, in case you haven't figured that one out yet. So I'm going to go ahead and delete the frame here. Let's also go look at this back in portrait. So let's go back over here. I'm going to click change my orientation, and so there we go for that. The second thing I'm going to do is I don't like how this capsule here is around this for a larger text, so it doesn't work really well. So I put 'em around both of these views, and with that, I can look at it much more…

Contents