//设置毛玻璃效果 +(void)blurEffrct:(UIView *)view{ UIBlurEffect* effect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; UIVisualEffectView* effectView = [[UIVisualEffectView alloc] initWithEffect:effect]; effectView.frame =view.bounds; [view addSubview:effectView]; }
[Healp blurEffrct:bgImageVIew];//设置毛玻璃效果