Default TabView comes in light grey background color. the accentColor modifier works ok for changing the icon selected color, but I can not get the background color to change.
Modifiers I've tried: .background(Color.white)
This should work, but it doesn't. Could someone point me to the right direction?
Thank you!
to change active item color you only have to add TabView().accentColor(you_Color_here)
to change inactive item color .onAppear{ UITabBar.appearance().unselectedItemTintColor = UIColor(theme.colors.secondary) }