adding a background to view swiftui code example Example: give background color swiftui Color.blue.edgesIgnoringSafeArea(.all)