Search code examples
iosiphoneuilabelconcatenationaxis-labels

Multiple UILabel in single row


enter image description here

Need help to create a UILables layout like this with multiple Labels an multiple actions. Consider the Facebook News&Feed example for this.


Solution

  • Please try TTTAttributedLabel and NSAttributedString to do that. Don't use multiple UILabel instances :). TTTAttributedLabel allows you to add actions for any parts of your string.