Trying to use my custom color in my tabview.
Looking at this now, but they only said the option for system colors, and I have created a custom color called "Bg"
, how can I call it? This is what they suggested:
init() {
UITabBar.appearance().backgroundColor = UIColor.blue
}
When I try to replace UIColor.blue
for Color("Bg")
I get an error.