let image = UIImage(named: "image_name")?.withRenderingMode(.alwaysTemplate)
button.setImage(image, for: .normal)
button.tintColor = UIColor.red
'IOS' 카테고리의 다른 글
[ios]firebase auth token mismatch error(release) (0) | 2019.08.05 |
---|
let image = UIImage(named: "image_name")?.withRenderingMode(.alwaysTemplate)
button.setImage(image, for: .normal)
button.tintColor = UIColor.red
[ios]firebase auth token mismatch error(release) (0) | 2019.08.05 |
---|