3

We can typically set fontColor of a UILabel by:

label.textColor = self.someTextColor;

and the shadow (glow) by:

label.layer.shadowColor = self.someGlowColor;
label.layer.shadowOffset = CGSizeMake(0.0, 0.0);
label.layer.shadowRadius = 3.0;
label.layer.shadowOpacity = 0.5;

It'ok for simple shadow. However, how can I set the font color with some fancy glowing effect? For example:

enter image description here

Provided A is the color at center, B is color at font boundary, and C the glow effect. How can I use iOS API to achieve the effect as shown in the diagram?

Yucel Bayram
  • 1,653
  • 2
  • 22
  • 41
ohho
  • 50,879
  • 75
  • 256
  • 383
  • Image you have uploaded is zoomed one . Can you help in sharing the image without zoom to get feel of image . – Shrawan Dec 22 '16 at 06:52

0 Answers0