相關資料ios
http://stackoverflow.com/questions/18404907/using-gpuimage-to-recreate-ios-7-glass-effectgit
http://stackoverflow.com/questions/17036655/ios-7-style-blur-view/17048668#17048668github
我沒有用GPUImge 使用了 FXBlurView
which works great on iOS5+ui
只有兩個文件spa
https://github.com/nicklockwood/FXBlurViewcode
CocoaPods:blog
-> FXBlurView (1.3.1) UIView subclass that replicates the iOS 7 realtime background blur effect, but 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:get
FXBlurView *blurView = [[FXBlurView alloc] initWithFrame:CGRectMake(50, 50, 150, 150)]; [self.blurView setDynamic:YES]; [self.view addSubview:self.blurView];