You can alter the view controller in your 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
}
Which gives me the following result:
