I am trying to blur the status bar depending on the background like it works when we pull down the status bar. like it is see through
let statusBarFrame = UIApplication.shared.statusBarFrame
let visualEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
visualEffectView.frame = statusBarFrame
view.addSubview(visualEffectView)
I have tried all styles but it does change to translucent even I tried from storyboard effect shows in the storyboard but not in simulator even my Reduce Transparency is also turned on
I want to achive this in the stausbar
but it only gives a white bar