I\'m having a UIView that\'s containing two UILabels, which have dynamic heights. I want the UIView to fit the size of the UILabels + some padding.
UIView
You can do it using the storyboard itself.
Set the View's bottom constraint to second UIlabel. So when the height of label increases, UIView's height will also increases.