actionBtn.setTitleColor(UIColor.gray, for: UIControl.State.normal)
                actionBtn.tintColor = UIColor.gray
                actionBtn.setImage(UIImage.init(named: "report")?.withTintColor(UIColor.gray, renderingMode: UIImage.RenderingMode.alwaysTemplate), for: UIControl.State.normal)

  

imageView 设置同理

posted on 2023-08-05 14:00  懂事长qingzZ  阅读(145)  评论(0)    收藏  举报