CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

ESBlur 0.1.0

ESBlur 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release May 2015

Maintained by Ezequiel Scaruli.



ESBlur 0.1.0

  • By
  • Ezequiel Scaruli

ESBlur is a simple category to create a blurred view from any UIView. It is based on UIImageEffects class, and it is compatible with iOS 7 and later.

Demo

Usage

Import UIView+ESBlur.h in the class where you want to apply the blur:

#import <ESBlur/UIView+ESBlur.h>

Blur can be applied to any UIView or subclass:

UIView *blurredView = [someView viewByApplyingBlur];

To use a custom tint color color instead of the default one, call:

UIColor *tintColor = [UIColor greenColor]; // Just any UIColor.
UIView *blurredView = [someView viewByApplyingBlurWithTintColor:tintColor];

License

This library is available under the MIT license.