IOS: UIView blurs everything that moves behind it

I wonder if it’s possible to blur everything behind my eyes ... These things are expected to move.

Example. I have a UIViewcontroller containing a UITableView, and a small UIView above it that can be moved with a touch. I want this view to be transparent, but still erase something behind to achieve an effect like this: http://www.codeproject.com/KB/dialog/rtaGlassEffectLib/rtaGlassEffect.png

So ... is it possible or not?

+4
source share
2 answers

If something doesn't change behind the view, you can take a screenshot (see this question: How to remove the current screenshot and reuse in the code? (IPhone SDK) ), then use the Gaussian blur procedures from this library: http: // code.google.com/p/simple-iphone-image-processing/

So yes, perhaps, but not super easy. Here you can find similar questions that are likely to help: stackoverflow.com/search?q= [iphone] + blur

+3
source

I think you can use this library:

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

+1
source

Source: https://habr.com/ru/post/1343223/


All Articles