iOS 26 Modal View Controller with Transparent Background

Prior to iOS 26, this successfully gave me a modal view with a transparent background:

let settingsVC = MySettingsViewController()
settingsVC.modalPresentationStyle = .automatic 
//settingsVC.modalPresentationStyle = .overCurrentContext 

self.present(settingsVC, animated: true, completion: {

}

MySettingsViewController:

self.view.backgroundColor = UIColor(white: 0, alpha: 0.5)

Now in iOS 26, modal view is presented in a opaque grey background.

iOS 26 Modal View Controller with Transparent Background
 
 
Q