Код: Выделить всё
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
Мобильная версия