开发者

Multiline CATextLayer with truncation

Is there a way to make a CATextLayer show the "..." if I have wrapped开发者_运维知识库 == YES?


Yes, set truncationMode = kCATruncationEnd. It defaults to kCATruncationNone.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜