美文网首页
毛玻璃效果

毛玻璃效果

作者: Darren_xu | 来源:发表于2017-03-05 15:51 被阅读17次
UIVisualEffectView *bgView = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]]; bgView.alpha = 0.9f;
 bgView.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
 bgView.layer.cornerRadius = BALL_RADIUS / 2;
 bgView.clipsToBounds = YES; 
[self addSubview:bgView];

相关文章

网友评论

      本文标题:毛玻璃效果

      本文链接:https://www.haomeiwen.com/subject/fydzettx.html