I have a UIView
that contains buttons and labels. When these buttons are pressed, this UIView
will become blur using the code below.
@IBOutlet weak var blurView: UIView!
var blurEffect = UIBlurEffect(style: UIBlurEffectStyle.Dark)
var blurEffectView = UIVisualEffectView(effect: blurEffect)
blurEffectView.frame = blurView.bounds
blurView.addSubview(blurEffectView)
However, I want to remove the blur effect later on.
What is the code for removing the blurred UIView
?