Can I change the background color of a SwiftUI GroupBox?
![](./upload/news/image_1660761715_53399695.png)
Someone asked me earlier if we can change the GroupBox background color in #SwiftUI . I couldn’t change it directly but I was able to change it by creating a custom GroupBoxStyle . This is from the chapter Custom Styling in the SwiftUI Views Mastery book. Check out the FREE book: https://www.bigmountainstudio.com/free-swiftui-book