IOS View Blur effect (frosted glass)
Related information
Http://stackoverflow.com/questions/18404907/using-gpuimage-to-recreate-ios-7-glass-effect
http://stackoverflow.com/questions/17036655/ios-7-style-blur-view/17048668#17048668
I didn't use GPUIMGE. FXBlurView
which works great on ios5+
Only two files
Https://github.com/nicklockwood/FXBlurView
CocoaPods:
Fxblurview (1.3.1) UIView subclass that replicates the iOS 7 realtime background blur effect and works on IOS 5 and above. Pod ' Fxblurview ', ' ~> 1.3.1 ' -homepage:http://github.com/nicklockwood/fxblurview -Source: https:// Github.com/nicklockwood/fxblurview.git -versions:1.3.1, 1.3, 1.2, 1.1, 1.0 [master Repo]
I added it by using:
Fxblurview *blurview = [[Fxblurview alloc] Initwithframe:cgrectmake (50, 50, 150, 150)]; [Self.blurview Setdynamic:yes]; [Self.view AddSubview:self.blurView];
IOS View Blur effect (frosted glass)