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 recreate this iOS font that has a shadow? [closed] How can I recreate this iOS font that has a shadow? [closed]](https://i.stack.imgur.com/pWYZx.png)
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);
加载中,请稍侯......
精彩评论