美文网首页
ios 模糊处理

ios 模糊处理

作者: guoguojianshu | 来源:发表于2020-01-13 14:34 被阅读0次
    -(UIImageView *)QiuTanTiYuBigImageView{
        if (!_QiuTanTiYuBigImageView) {
            _QiuTanTiYuBigImageView = [[UIImageView alloc]init];
            UIBlurEffect * QiuTanTiYuEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
            UIVisualEffectView * QiuTanTiYuEffectView = [[UIVisualEffectView alloc]initWithEffect:QiuTanTiYuEffect];
            QiuTanTiYuEffectView.frame = CGRectMake(0, 0, TYZXWIDE, TYZXHEIGHT);
            QiuTanTiYuEffectView.alpha = 0.8;
            [_QiuTanTiYuBigImageView addSubview:QiuTanTiYuEffectView];
        }
        return _QiuTanTiYuBigImageView;
    }
    

    相关文章

      网友评论

          本文标题:ios 模糊处理

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