Check out example codes for "give background color swiftui". It will help you in understanding the concepts better.

Code Example 1

Color.blue.edgesIgnoringSafeArea(.all)

Learn ReactJs, React Native from akashmittal.com