CollectionViewLayout Supplementary View height equal to content

Viewed 2604

I have a UICollectionViewLayout subclass with in it a Supplementary View that contains a multi-line UILabel. The problem is that not all the text is visible at a certain point, how can I give the Supplementary View the height equal to its content?

Example of the layout.

1 Answers
Related