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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -