I want to know the reason why we have to add VStack or HStack as a parent if you add two subview inside it.![]()
Thanks
I want to know the reason why we have to add VStack or HStack as a parent if you add two subview inside it.![]()
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.
Thanks Audrey
I totally understand it now