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 设置同理
标签:gray,颜色,normal,UIColor,State,actionBtn,按钮,UIControl,swift From: https://www.cnblogs.com/qingzZ/p/17607900.html