AutoLayout row height miscalculating for NSAttributedString
问题 My app pulls HTML from an API, converts it into a NSAttributedString (in order to allow for tappable links) and writes it to a row in an AutoLayout table. Trouble is, any time I invoke this type of cell, the height is miscalculated and the content is cut off. I have tried different implementations of row height calculations, none of which work correctly. How can I accurately, and dynamically, calculate the height of one of these rows, while still maintaining the ability to tap HTML links?