lazy private var leftButton: AnimationButton = .init().then {
$0.setImage(UIImage(named: "image_name")?.withRenderingMode(.alwaysTemplate), for: .normal)
$0.addTarget(self, action: #selector(leftButtonClicked(_:)), for: .touchUpInside)
}
버튼 속성에 RenderingMode를 .alwaysTemplate으로 변경해주고,
self.leftButton.imageView?.tintColor = .black
버튼 내 이미지뷰의 tintColoc를 변경해주면 끗