SVBlurView is a simple reimplementation of FXBlurView for iOS 7. It uses Apple’s
UIImage+ImageEffects category as well as the new
drawViewHierarchyInRect: UIView API. It doesn’t do dynamic blurs yet.
- Drag the
SVBlurView/SVBlurViewfolder into your project.
(see sample Xcode project in
SVBlurView *blurView = [[SVBlurView alloc] initWithFrame:CGRectMake(60, 100, 200, 200)]; [backgroundView addSubview:blurView];
@property (nonatomic, readwrite) CGFloat blurRadius; // default is 20.0f @property (nonatomic, readwrite) CGFloat saturationDelta; // default is 1.5 @property (nonatomic, readwrite) UIColor *tintColor; // default nil
SVBlurView is brought to you by Sam Vermette and contributors to the project. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by creating new issues. If you’re using SVBlurView in your project, attribution would be nice.