so, i am scuffling with updating some issues on my iOS App with the iOS 26. Mainly, i can not perceive why i can change each coloration of the gadgets of the tab bar besides the icon coloration for regular state.
i’ve this code for that objective:
look.stackedLayoutAppearance.chosen.iconColor = R.coloration.lightGreen()
look.stackedLayoutAppearance.chosen.titleTextAttributes = [NSAttributedString.Key.foregroundColor: R.color.lightGreen()!]
look.stackedLayoutAppearance.regular.iconColor = R.coloration.darkGray()
look.stackedLayoutAppearance.regular.titleTextAttributes = [NSAttributedString.Key.foregroundColor: R.color.darkGray()!]
The whole lot is working besides this line:
look.stackedLayoutAppearance.regular.iconColor = R.coloration.darkGray()
Which leads to this:
Any assist?