开发者

iPhone - Create underlined UIFont?

I already have a font object, I want to add underlined attribute to it without having to specify a font name.

I need to do think either using UI开发者_如何学JAVAFont, or CTFont


There's no built-in support for underline, because that's not part of the font. It's drawn separately. See this SO thread for implementation details:

Underline Text in UILabel

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜