Image View Double Border
问题 I'm calling a function that sets up a UIImageView: func setupImageView(_ imageView: UIImageView) {} I want to give that UIImageView an image, round its corners, and give it two different borders. Here is what I am currently doing: imageView.image = imageConstants.imageThatIsWanted imageView.clipsToBounds = true imageView.layer.cornerRadius = imageView.frame.height / 2 imageView.layer.borderWidth = 3.0 imageView.layer.borderColor = UIColor.white.cgColor What is the best way to apply a second