UIStackView: Loading views from xib and updating height constraint of subView did not reflecting any changes?
I have the following hierarchy in my application - UIScrollView - UIStackView - UIView 1 // load with xib and added in arrangedSubviews - UIScrollView 1.1 // horizontal scrolling, fixed height constraint 38 - UIView 1.2 // called it childView. has fixed height 0 (I load the view from xib and add it here dynamically and update its height) - UIView 1.2.1 // called it New View - UIView 2 - UIView 3 So my problem is when I have loaded a view from xib and added it to UIView1.2 also increased height constraint 0 to a height of newly added sub-view but nothing will happen. UIView1.2 height did not