I was wondering how to set the radius/blur factor of iOS new UIBlurEffectStyle.Light
? I could not find anything in the documentation. But I want it to look similar to the classic UIImage+ImageEffects.h
blur effect.
required init(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
let blur = UIBlurEffect(style: UIBlurEffectStyle.Light)
let effectView = UIVisualEffectView(effect: blur)
effectView.frame = frame
addSubview(effectView)
}