I am setting a background image to view controller. But also i want to add blur effect to this background. How can I do this?
I am setting background with following
You should always use .dark for style and add the following code to make it look cool
blurEffectView.backgroundColor = .black blurEffectView.alpha = 0.4