Код: Выделить всё
appearance.stackedLayoutAppearance.selected.iconColor = R.color.lightGreen()
appearance.stackedLayoutAppearance.selected.titleTextAttributes = [NSAttributedString.Key.foregroundColor: R.color.lightGreen()!]
appearance.stackedLayoutAppearance.normal.iconColor = R.color.darkGray()
appearance.stackedLayoutAppearance.normal.titleTextAttributes = [NSAttributedString.Key.foregroundColor: R.color.darkGray()!]
< /code>
Все работает, кроме строки, которая устанавливает цвет для невыбранных значков: < /p>
appearance.stackedLayoutAppearance.normal.iconColor = R.color.darkGray()Что приводит к этому:
Любая помощь? Желаемое поведение состояло в том, чтобы иметь график и значки настройки с серого цвета.
Подробнее здесь: https://stackoverflow.com/questions/797 ... r-on-ios26