How to get blur effect similar to Apple maps status bar?
问题 I'm working on a map based iOS 11 application and want to make the status bar blurred exactly like it appears in the Apple maps. This is how it looks on the Maps app: Currently, I'm using UIVisualEffectView to replicate this effect. Here's my code: let blurEffect = UIBlurEffect(style: .regular) blurredStatusBar = UIVisualEffectView(effect: blurEffect) blurredStatusBar?.translatesAutoresizingMaskIntoConstraints = false view.addSubview(blurredStatusBar!) However, whatever UIBlurEffect I use, I