imageview_purchase.layer.cornerRadius = imageview_purchase.frame.height / 2.0 imageview_purchase.layer.masksToBounds = true