In your view controller, you can change the view.layer.cornerRadius property to the value you want
override func viewDidLoad() {
    super.viewDidLoad()
    view.layer.cornerRadius = 10.0 // You can freely change this value
}
As an example, the following code:
override func viewDidLoad() {
    super.viewDidLoad()
    view.layer.cornerRadius = 25.0
    view.backgroundColor = .systemPurple
}
gives me the following result:
