毛玻璃效果

作者: 方同学哈 | 来源:发表于2016-03-27 22:16 被阅读167次
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:self.view.frame];
    imageView.image = [UIImage imageNamed:@"psb.jpg"];
    [self.view addSubview:imageView];
        
    UIVisualEffectView *blurView = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]];
    blurView.frame = imageView.frame;
    [self.view addSubview:blurView];
    

    相关文章

      网友评论

        本文标题:毛玻璃效果

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