UITableView within a UITableViewCell with dynamic height

前端 未结 3 2005
执笔经年
执笔经年 2021-01-27 07:50

So I\'m trying to build something rather intricate - potentially more than what the picture below shows. Anyway..

I\'m trying to have a UITableView inside o

3条回答
  •  没有蜡笔的小新
    2021-01-27 08:26

    You should use UIStackView instead UITableView in cells, because as i understood, inner tableViews will not scroll or dequeue. That will be misusage of UITableView. If you have already cells or you insist, you may set height constraint of inner tableview at layoutSubviews method of inner tableview's parent view by taking tableviews content size.

提交回复
热议问题