In need of fuzzy UIView, add a Uivisualeffectview object, if directly in storyboad directly add Uivisualeffectview, your project must be iOS8 above to use
-(void) Viewdidload {
[superviewdidload];
Uiimageview *imageview = [[Uiimageview alloc] init];
//
Imageview.frame = CGRectMake (10, 200, 300, 300);
//
Imageview.image = [UIImage imagenamed:@ "2"];
//
Imageview.contentmode = Uiviewcontentmodescaleaspectfit;
//
imageview.userinteractionenabled = YES;
//
[Self.view Addsubview:imageview];
uiblureffect *blur = [uiblureffecteffectwithstyle: Uiblureffectstylelight];
uivisualeffectview *effectview = [[uivisualeffectviewalloc] Initwitheffect: Blur];
//effectview.frame = CGRectMake (0, 0, IMAGEVIEW.FRAME.SIZE.WIDTH/2, 300);
Effectview. Frame = cgrectmake ( 0 , Span style= "COLOR: #272ad8" >0 self Span style= "COLOR: #000000". View Frame Size Width self . View Frame Size Height
//[imageview Addsubview:effectview];
[Self. View addsubview: Effectview];
UIButton *btn = [UIButtonbuttonwithtype:uibuttontypesystem ];
Btn. frame =CGRectMake(ten, +, +) ;
[btn settitle:@ "btn"forstate:uicontrolstatenormal];
[Effectview. Contentview addsubview: btn];
}
IOS8 Blur view (frosted glass effect) Uivisualeffectview