我有一个用于 iOS 6.1的带有 TTTAttributedLabel ( https://github.com/mattt/TTTAttributedLabel ) 的自定义 UITableViewCell。我使用 TTTAttributedLabel 的 truncationtokenstring 属性来格式化结尾(默认为省略号 ...),当文本太长并被截断为:“...阅读更多 >”。
我可以通过改变它的前景色等来格式化这个截断标记字符串,就像在这篇文章中一样: TTTAttributedLabel "Read More >" tail truncation with several attributes possible?
但是如何使 truncationtokenstring 成为链接,以便当用户单击“...阅读更多 >”时,我可以调用委托并显示更多信息?