UIVisualEffectView Not working in macOS Catalyst

I am using UIVisualEffectView for my Popup View Controller view for my app. Code is successfully working in iOS and iPadOS to blure view background. But view for macOS Catalyst app is white without transperency and blur.

How to solve this?

I am using following code...

self.view.backgroundColor = UIColor(red: 255/255, green: 255/255, blue: 255/255, alpha: 0.3)
let blurEffect = UIBlurEffect(style: .light)
let blurEffectView = UIVisualEffectView(effect: blurEffect)
blurEffectView.frame = self.view.bounds
blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
self.view.insertSubview(blurEffectView, at: 0)
UIVisualEffectView Not working in macOS Catalyst
 
 
Q