开发者

Multiline CATextLayer with truncation

开发者 https://www.devze.com 2023-03-26 04:07 出处:网络
Is there a way to make a CATextLayer show the \"...\" if I have wrapped开发者_运维知识库 == YES?Yes, set truncationMode = kCATruncationEnd. It defaults to kCATruncationNone.

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


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

0

精彩评论

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