Wednesday, July 22, 2020

Can I change the background color of a SwiftUI GroupBox?

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

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...