Swift设置TabBarItem的字体颜色

2017-05-10  本文已影响0人  Running__snail
tabBarItem.setTitleTextAttributes([NSForegroundColorAttributeName: UIColor.lightGray]  as [String: AnyObject], for: UIControlState.normal)
上一篇下一篇

猜你喜欢

热点阅读