🌙️ Quick way to add blur effect ~
In me the tiger sniffs the rose.
心有猛虎,细嗅蔷薇。
Welcome to my blog: http://LeoDev.me ✨
This is a simple way to add blur effect to UIView
~
You could also add blur to UIImageView
, UIWindow
... They are the subclasses of UIView
.
If you like this project, please give this project a star, thank you! ⭐️
LCBlur is available on CocoaPods. Just add the following to your project Podfile:
pod 'LCBlur' # Podfile
Just drag the LCBlur folder into your project.
-
Use by including the following import:
#import "LCBlur.h"
-
Demo code:
// Blur [imageView blurWithRadius:10.0f]; // Quick way [imageView blur]; // Remove blur [imageView unBlur];
- First release.
-
If you have any question, just commit a issue! Thx!
-
Mail: [email protected]
-
Blog: http://LeoDev.me