Skip to content

Adrian2112/UIImage-BlurredFrame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b2af8f1 · Feb 24, 2014

History

23 Commits
Nov 21, 2013
Nov 21, 2013
Nov 7, 2013
Nov 11, 2013
Feb 23, 2014
Feb 23, 2014
Jan 8, 2014
Feb 23, 2014
Feb 23, 2014
Nov 7, 2013

Repository files navigation

UIImage+BlurredFrame is a UIImage category that blurs an specified frame of a UIImage

#Install

Install with cocoapods

pod 'UIImage+BlurredFrame'

#Usage

UIImage *img = [UIImage imageNamed:@"myImage"];
CGRect frame = CGRectMake(0, img.size.height - 200, img.size.width, img.size.height - 200);
    
img = [img applyLightEffectAtFrame:frame];

UIImage-BlurredFrame demo

##Credits

UIImage+ImageEffects category taken from the 2013 wwdc developer videos 'Implementing Engaging UI on iOS'

Methods to crop and merge images from this stackoverflow answer

Author

Adrián González