图片处理 毛玻璃效果

1 // iOS 毛玻璃效果:
2     UIVisualEffectView *bgView = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]];
3     bgView.alpha = 0.9f;
4     bgView.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
5     [self.view addSubview:bgView];

 

posted @ 2014-09-19 16:20  超级马力  阅读(369)  评论(0编辑  收藏  举报