I have created alert with image view i need that image to rounded and i need to give background colour to alert done button. please help me in the code.

here is my alert code:

```
 func showAlert(){

    let alertController = UIAlertController(title:"      Profile created    \n     Sccessfully     ", message: "", preferredStyle: .alert)
    let doneAlert = UIAlertAction(title: "DONE", style: .default, handler: { (action) -> Void in

        self.navigationController?.popViewController(animated: true)
    })
    alertController.addAction(doneAlert)

    image.layer.cornerRadius = image.frame.height/2
    image.layer.borderWidth = 1
    alertController.view.addSubview(image)

    image.translatesAutoresizingMaskIntoConstraints = false
    alertController.view.addConstraint(NSLayoutConstraint(item: image, attribute: .centerX, relatedBy: .equal, toItem: alertController.view, attribute: .centerX, multiplier: 1, constant: 0))

    alertController.view.addConstraint(NSLayoutConstraint(item: image, attribute: .top, relatedBy: .equal, toItem: alertController.view, attribute: .top, multiplier: 1, constant: -20))

    alertController.view.addConstraint(NSLayoutConstraint(item: image, attribute: .width, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: 40))
    alertController.view.addConstraint(NSLayoutConstraint(item: image, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: 40))
    self.present(alertController, animated: true, completion: nil)

}

```

I need alert like this

[Alert](https://i.stack.imgur.com/bcuuO.png)