private let imageView = UIImageView().then { //then 사용
$0.adjustsImageSizeForAccessibilityContentSizeCategory = true //이미지 벡터로 저장함
$0.image = UIImage(named: "이미지 이름")
$0.image = $0.image?.withRenderingMode(.alwaysTemplate)
$0.tintColor = .white //원하는 색상
}
renderingMode를 .alwaysTemplate
로 해주고
tintColor를 설정해주세유