background color for swiftUO code example
Example 1: give background color swiftui
Color.blue.edgesIgnoringSafeArea(.all)
Example 2: changing color of background swift
self.view.backgroundColor = UIColor.blue // or .blue for shorthand
Color.blue.edgesIgnoringSafeArea(.all)
self.view.backgroundColor = UIColor.blue // or .blue for shorthand