 <p>If you want view1 and view2 to remain fixed at the top, that’s easy enough to do by constraining view1.bottom == tableView.top.</p> <p>If you want view1 and view2 to scroll with the table view, then put them inside the table view’s header. (To make a header, drag a generic UIView to the space just above the prototype cells in the storyboard editor.) I don’t recommend using constraints to try to make something outside the table view scroll with it, even though that’s (sometimes) possible.</p> <p>Control-drag from view1 to view2 and create an “equal widths” constraint to divide the space equally.</p>