I have a UIStackView where it can show a label, image, table view or nothing based on user selection. Here is my current hierarchy for the dynamic view:
- UIStackView_Parent
- UILabel - some text, fixed view
 - UIStackView_Child - this is the container that can show multiple things or nothing
 - UIView - another fixed view
 
 
When I call UIStackView_Child.addArrangedSubview(...) with a label or image it works perfectly, but addArrangedSubview(tableView) does not show the table. I have tableView.scrollEnabled = false and set frame to fixed height based on number of cell and defined the table's cellHeight. 
Any help would be much appreciated, thanks!