Created
April 8, 2015 14:29
-
-
Save jeffreyjackson/c9fa7c83e5258d2e318b to your computer and use it in GitHub Desktop.
Text Glow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIColor *glowColor = [UIColor greenColor]; | |
textLabel.layer.shadowColor = [glowColor CGColor]; | |
textLabel.layer.shadowRadius = 3.0f; | |
textLabel.layer.shadowOpacity = .8; | |
textLabel.layer.shadowOffset = CGSizeZero; | |
textLabel.layer.masksToBounds = NO; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You might not want to use green, but you get the idea.