Group Group Group Group Group Group Group Group Group

If you have two views, why you have to add Stack on it?

I want to know the reason why we have to add VStack or HStack as a parent if you add two subview inside it.:slight_smile:

Thanks

hi Jason! the body property of ContentView is a computed property that returns some View, so it has to be a single view at the top level.

1 Like

Thanks Audrey :slight_smile: I totally understand it now

1 Like