UILabel text glow
UILabel needs a little something to make it pop.
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;
You might not want to use green, but you get the idea.
Written by Jeffrey Jackson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#