resize superview after subviews change dynamically using autolayout
I cant for the love of god the the hang of this resizing superview. I have a UIView *superview with 4 UILabels . 2 function as header for the 2 others. The content in all 4 are dynamic coming from database. SizeToFit vs SizeThatFits:(CGSize) vs UIView systemLayoutSizeFittingSize: , passing either UILayoutFittingCompressedSize or UILayoutFittingExpandedSize . I use autolayout programatically and have set the superview height to be equal or greater to a dummy number. where and how do I use these SizeToFit vs sizeThatFits:(CGSize) vs UIView systemLayoutSizeFittingSize: , passing either