I'm searching for a way to display styled text in an UILabel. There are different ways to manage that:
- Using a UIWebView
- OHAttributedLabel
- RTLabel
- DTCoreText
However it seems that those possibilities do not support auto layout in the way UILabel does:
If I'm using a constraint with the visual format V:|[styledLabel]
and H:|[styledLabel]
(no absolute height or width is set), the label subclass (e.g. RTLabel) is not shown. If a height and a width is set, everything works fine.
Is there any way to manage styled text with using the constraints above?
Thanks in advance