This code is only working with fix height and width. How can Round UIImageView when we use multiplier?

Here, is the code that Circle my ImageView. Width and Height is 300.

```
class MusicViewController: UIViewController {

    @IBOutlet weak var imgAlbum: UIImageView!
    override func viewDidLoad() {
        super.viewDidLoad()
        imgAlbum.layer.borderWidth = 1
        imgAlbum.layer.masksToBounds = false
        imgAlbum.layer.borderColor = UIColor.black.cgColor
        imgAlbum.layer.cornerRadius = imgAlbum.frame.height/2
        imgAlbum.clipsToBounds = true
    }

}

```

[![enter image description here](https://i.stack.imgur.com/eVUlq.png)](https://i.stack.imgur.com/eVUlq.png)

If I change my height and width to multiplier like. Now, the multiplier of Height 0.5 and width 0.8.
(Proportional height and width to SuperView)

[![My ImageView Constrain](https://i.stack.imgur.com/GbG7C.png)](https://i.stack.imgur.com/GbG7C.png)

[![enter image description here](https://i.stack.imgur.com/Nvzh3.png)](https://i.stack.imgur.com/Nvzh3.png)