cqrjgg
Last Updated: December 26, 2018
·
6.529K
· _jeffreyjackson

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.