How can I recreate this iOS font that has a shadow? [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this questionIn 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....
How can I开发者_Go百科 recreate that font with the engraved look?
Thanks in advance for your help!
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);
精彩评论