When i add a border to a UIImageView, i get little black strips on the following picture. I try my app on a real iPhone and i can see the little strips too. How can i remove this or where is the issue of this?
Anyone have an idea?
Here is my code for the UIImageView:
//Setup ProfileImageView
profileImageView.layer.cornerRadius = profileImageView.frame.size.width / 2
profileImageView.clipsToBounds = true
profileImageView.layer.borderColor = UIColor.white.cgColor
profileImageView.layer.borderWidth = 4.0
profileImageView.layer.shadowOpacity = 0.12
profileImageView.layer.shadowOffset = CGSize(width: 0, height: 2)
profileImageView.layer.shadowRadius = 2
profileImageView.layer.shadowColor = UIColor.black.cgColor
And my Storyboard Settings:
I use the Xcode 10 beta 6... Could that be a problem?