Check out example codes for "how to change background color swift". It will help you in understanding the concepts better.

Code Example 1

self.view.backgroundColor = .black / .blue / .purple / .clear /ect.

Learn ReactJs, React Native from akashmittal.com