How to design a dynamic layout with two TableViews in Swift
问题 Hi fellow programmers. I've spent many hours trying to design this layout in Swift, with little success. Drawing of the layout The idea is having two TableViews: The top one, with zero or more (indefined) cells, which can't be scrollable and its height grows with the number of cells. The bottom one, with zero or more (indefined) cells, which is scrollable, and thus its height adapts to the space left from the latter tableview. I've already tried to play with the constraints programmatically,