开发者

iOS : UIView blurring things moving behind it

I'm wondering if it's possible to blur everything behind a view... Those things are expected to move.

Example: I have an UIViewcontroller containing an UITableView, and a small UIView over it, wich can be moved with touch. I want this view to be transparent but blurring anything behind it, to achieve an effect similar to this one : http://www.codeproject.com开发者_开发技巧/KB/dialog/rtaGlassEffectLib/rtaGlassEffect.png

So... possible or not ?


If things are not changing behind the view you can take a screenshot (See this question: How to capture current view screenshot and reuse in code? (iPhone SDK)) then use the Gaussian blur routines from this library: http://code.google.com/p/simple-iphone-image-processing/

So, yes it's possible, but not super easy. You can find similar questions here that will probably help: stackoverflow.com/search?q=[iphone]+blur


I think you can use this library:

https://github.com/alexdrone/ios-realtimeblur

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜