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

TransitApp/SVBlurView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple reimplementation of FXBlurView for iOS 7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published