class LANVisualEffectView{
func EffectView(targetView:UIView){
let blur=UIBlurEffect(style: UIBlurEffectStyle.Light)
let effectview=UIVisualEffectView(effect: blur)
effectview.frame=CGRectMake(0, 0, targetView.frame.width, targetView.frame.height)
targetView.addSubview(effectview)
}
}