記錄一下
主要是自己很少用狠鸳,所以記錄一下。
_imageView = [[UIImageView alloc] initWithFrame:self.bounds];
[self addSubview:_imageView];
UIBlurEffect* effect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight];
UIVisualEffectView* effectView = [[UIVisualEffectView alloc] initWithEffect:effect];
effectView.frame = _imageView.bounds;
[_imageView addSubview:effectView];