Skip to content

organizze/ZzeBlurredLabel

Repository files navigation

ZzeBlurredLabel

Version Platform License

Without filter

Without Filter

Filtered

With Filter

Requirements

  • iOS 8.0+

CocoaPods

Add the following line to your Podfile:

pod 'ZzeBlurredLabel'

Manual

Just import ZzeBlurredLabel to your project.

How to use

1. Create ZzeBlurredLabel

・By coding
label = [[ZzeBlurredLabel alloc] initWithFrame:CGRectMake(0, 64, 100, 100)];
label.text = @"Your Text"

2. Set blurRadius

・Set value on blurRadius
label.blurRadius = 7.0f;

3. Call getBlurryImageText

・Method return image blurry
UIImage * convertedImage = [label getBlurryImageText];

This is method return UIImage create from UILabel text/atrributedText.

Extra . Call blurryText

・Blurry text on UILabel
[label blurryText];

License

This software is released under the MIT License.