I have a custom view where I place a UIImageView and a UILabel. Label's text can be any size and it is dynamically set, so I have set the label's numOfLines to 0.
In addition, I am using Autolayout. The image view is an icon that I place to the right of the label, and I need the top edge of both the icon and the text to be aligned (not the top of the label). I have tried several ways to get rid of the padding between the label and its text within (sizeToFit, sizeThatFits) with no success, I need the height of the label to exactly match the height of the text to be able to align the top of the text with the icon... How could I achieve that?