title: Set container view height to nib loaded subview height
body: <p>I am loading subviews from different .xib files and adding them to a container view. The problem is I can't figure out how to make the container view's height automatically adjust to the subview. When I access the <code>subView.frame.size.height</code> it comes back with a correct value. For example, 44. But when I set the height of the containerView by making a rect <code>containerView.frame = GCRectMake(0, 0, containerView.frame.size.width, 44)</code> it does not work and keeps its original height. I have also tried <code>[containerView sizeToFit:subView.frame.size]</code> to no avail.</p>