Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 1.31 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.31 KB

SVBlurView

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.

SVBlurView

Installation

Manually

  • Drag the SVBlurView/SVBlurView folder into your project.
  • #import "SVBlurView.h"

Usage

(see sample Xcode project in /Demo)

SVBlurView *blurView = [[SVBlurView alloc] initWithFrame:CGRectMake(60, 100, 200, 200)];
[backgroundView addSubview:blurView];

Customization

@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

Credits

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.