//此方法颜色显示不正确
func setUpRightNav() {
let topNav = UIBarButtonItem.init(title: "TOP", style:.Plain, target: self, action: #selector(topBtnClick))
topNav.setTitleTextAttributes([NSFontAttributeName:UIFont(name: "Verdana-BoldItalic", size: 16)!,
NSForegroundColorAttributeName:UIColor.lightGrayColor()], forState: .Normal)
topNav.setTitleTextAttributes([NSFontAttributeName:UIFont(name: "Verdana-BoldItalic", size: 16)!,
NSForegroundColo
swift中UIBarButtonItem颜色不正确显示解决办法
最新推荐文章于 2020-12-05 11:14:42 发布