Check out example codes for "swift VStack". It will help you in understanding the concepts better.

Code Example 1

HStack {
	//whatever Views are inside the HStack
}

Code Example 2

VStack {
	//whatever Views are inside the VStack
}

Learn ReactJs, React Native from akashmittal.com