如何在UIImageView及其边框之间添加填充?
Img.layer.cornerRadius = Img.bounds.width / 2 Img.layer.borderWidth = 2 Img.layer.borderColor = UIColor.blue.cgColor Img.clipsToBounds = true
像这样:
uiimageview uiimage ios swift3
ios ×1
swift3 ×1
uiimage ×1
uiimageview ×1