ios - How to set the colors in glowing effect of a UILabel? -


we can typically set fontcolor of uilabel by:

label.textcolor = self.sometextcolor; 

and 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 simple shadow. however, how can set font color fancy glowing effect? example:

enter image description here

provided a color @ center, b color @ font boundary, , c glow effect. how can use ios api achieve effect shown in diagram?


Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -