Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I recreate this iOS font that has a shadow? [closed]

In the iOS clock app, the font in the table view cells has a slight shadow to it which gives the effect that the text is engraved....

alt text

How can I recreate that font with the engraved look?

Thanks in advance for your help!

like image 967
BeachRunnerFred Avatar asked Sep 07 '10 21:09

BeachRunnerFred


1 Answers

Simply set the shadow color to white:

label.textColor = [UIColor blackColor];
label.backgroundColor = [UIColor clearColor];
label.shadowColor = [UIColor whiteColor];
label.shadowOffset = CGSizeMake(0.0, 1.0);
like image 85
David M. Avatar answered Sep 29 '22 21:09

David M.