本文介绍了如何在iOS6中的UIView上获得高斯模糊效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何在iOS6的UIView上实现高斯模糊效果吗?筛选器菜单打开时,类似于twitter的#music应用程序. (菜单下的背景变得模糊)

Does anyone know how to achieve a gaussian blur effect on an UIView in iOS6? Similar to twitter's #music app when the filter menu is open. (the background under the menu becomes blurred)

推荐答案

我写了一个基于 RWBlurPopover 的库在 GPUImage 上,在呈现弹出框时可以达到类似的高斯模糊效果.同时支持iPhone和iPad,并在iOS 5.1+上运行.

I wrote a library RWBlurPopover based on GPUImage that can achieve similar gaussian blur effect when presenting a popover. Supports both iPhone and iPad, and runs on iOS 5.1+.

这篇关于如何在iOS6中的UIView上获得高斯模糊效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 07:19