change background of a view swiftUI code example Example: give background color swiftui Color.blue.edgesIgnoringSafeArea(.all)