开发者

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

Closed. This question needs to be more focused. It is not currently accepting answers.

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 question

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....

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

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜