标签:
UIImageView * image=[[UIImageView alloc]init];
image.frame=CGRectMake(0, 0, 320, 568);
image.image=[UIImage imageNamed:@"Guide_img_1"];
[self.view addSubview:image];
UIBlurEffect * blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight];
UIVisualEffectView * effe = [[UIVisualEffectView alloc]initWithEffect:blur];
effe.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
// 把要添加的视图加到毛玻璃上
[self.view addSubview:effe];
标签:
原文地址:http://www.cnblogs.com/tongyuling/p/5163814.html