iOS View 模糊效果(毛玻璃)

相关资料

http://*.com/questions/18404907/using-gpuimage-to-recreate-ios-7-glass-effect

http://*.com/questions/17036655/ios-7-style-blur-view/17048668#17048668

 

我没有用GPUImge  使用了  FXBlurView which works great on iOS5+

只有两个文件

https://github.com/nicklockwood/FXBlurView

CocoaPods:

iOS  View 模糊效果(毛玻璃)
-> 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]
iOS  View 模糊效果(毛玻璃)

I added it by using:

iOS  View 模糊效果(毛玻璃)
FXBlurView *blurView = [[FXBlurView alloc] initWithFrame:CGRectMake(50, 50, 150, 150)];
[self.blurView setDynamic:YES];
[self.view addSubview:self.blurView];
iOS  View 模糊效果(毛玻璃)
 

iOS View 模糊效果(毛玻璃),布布扣,bubuko.com

iOS View 模糊效果(毛玻璃)

上一篇:2017年05月10日记一次微项目投产 | 安卓版微信内置浏览器不能解析gzip压缩过的mp4视频的问题


下一篇:x01.Lab.StoreApp: XP 停服,微软变脸