单行多个UILabel

时间:2017-07-16 19:41:20

标签: ios iphone uilabel concatenation axis-labels

enter image description here

需要帮助来创建像这样的UILables布局,其中多个标签是多个动作。考虑一下Facebook News& Feed的例子。

1 个答案:

答案 0 :(得分:1)

请尝试TTTAttributedLabelNSAttributedString来执行此操作。不要使用多个UILabel实例:)。 TTTAttributedLabel允许您为字符串的任何部分添加操作。