imageView.addBorder(borderWidth: 1, borderColor: UIColor.clear) view.addSubview(imageView) let imageViewCover = UIView() imageViewCover.backgroundColor = UIColor.JJ_black1 imageViewCover.alpha = 0.3 if UIColor.DarkModeChoosed {