UIVisualEffectView and UIBlurEffect under iOS 26

When tapping a UIButton I present a view controller like this:

 let vc = ViewController()
 present(vc, animated: true, completion: nil)

Inside, I set a clear background with a visual effect view with a blur effect, like this:

view.backgroundColor = .clear
blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .regular))
//autolayout constraints for the blurEffectView
view.addSubview(blurEffectView)

But the background remains full white in iOS 26.

How can I bring the blur+transparency back like in iOS 18? What am I doing wrong?

Post the whole example. Does the same code work on 18?

UIVisualEffectView and UIBlurEffect under iOS 26
 
 
Q