Browse Source

AppearanceManager: UITabBar: Set unselectedItemTintColor

Soomin Lee 5 years ago
parent
commit
f03095d6fc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Sources/AppearanceManager.swift

+ 3 - 0
Sources/AppearanceManager.swift

@@ -41,6 +41,9 @@ class AppearanceManager: NSObject {
         UISearchBar.appearance().barTintColor = .white
 
         UITabBar.appearance().tintColor = theme.colors.orangeUI
+        if #available(iOS 10.0, *) {
+            UITabBar.appearance().unselectedItemTintColor = theme.colors.cellDetailTextColor
+        }
 
         UIPageControl.appearance().backgroundColor = theme.colors.background
         UIPageControl.appearance().pageIndicatorTintColor = .lightGray