tabBarItem.setTitleTextAttributes([NSForegroundColorAttributeName: UIColor.lightGray] as [String: AnyObject], for: UIControlState.normal)
tabBarItem.setTitleTextAttributes([NSForegroundColorAttributeName: UIColor.lightGray] as [String: AnyObject], for: UIControlState.normal)
本文标题:Swift设置TabBarItem的字体颜色
本文链接:https://www.haomeiwen.com/subject/pkjgtxtx.html
网友评论