Posted By

espinallab on 05/22/10


Tagged

text shadow UILabel


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

umang_nine
verostudios
wpellis
cnathan


Add white shadow to the text iPhone


 / Published in: Objective C
 

URL: http://www.espinallab.com

Here is how you add a shadow to a UILabel on the iPhone.

  1. lcd_title.text = song.title;
  2.  
  3. //Add white shadow to the text
  4. lcd_title.shadowColor = [UIColor whiteColor];
  5. lcd_title.shadowOffset = CGSizeMake(1.0,1.0);

Report this snippet  

You need to login to post a comment.