I need to implement outer glow effect on UILabel (or CATextLayer) as above. I know to create glow effect on text, I need shadow with offset (0,0). I've touched down to the quartz2D level, following is the code I'm using:
_backgroundDownLabel.layer.shadowColor = self.glowColor.CGColor; // red
_backgroundDownLabel.layer.shadowOffset = CGSizeMake(0, 0);
_backgroundDownLabel.layer.shadowOpacity = 1;
_backgroundDownLabel.layer.shadowRadius = self.glowAmount; // tried 1-10
_backgroundDownLabel.layer.masksToBounds = NO;
Problem: when I use RGB(1,0,0) color as the shadow color to create a red glow, the outcome is too subtle, meaning the red glow is not strong enough. On the other hand, client designer sent me a PSD file, in which the glow color is bright and strong. I guess it's not a simple glow but some Photoshop filter, maybe outer glow or some combination.
So, is there a way by code that I can do something similar?