Swift设置TabBarItem的字体颜色
2017-05-10 本文已影响0人
Running__snail
tabBarItem.setTitleTextAttributes([NSForegroundColorAttributeName: UIColor.lightGray] as [String: AnyObject], for: UIControlState.normal)
tabBarItem.setTitleTextAttributes([NSForegroundColorAttributeName: UIColor.lightGray] as [String: AnyObject], for: UIControlState.normal)