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.
精彩评论