TableView Automatic Dimension Tableview Inside Tableview

前端 未结 4 2030
慢半拍i
慢半拍i 2020-12-19 12:47

I have Tableview for showing food orders placed by clients. which contains Horizontal UIStackview. In UIStackView

In UIStackview

4条回答
  •  隐瞒了意图╮
    2020-12-19 13:31

    Why don't you do it based on the rowcount of the inner tableView for example let's say your inner tableview has a rowheight of 30 points than to set the parenttableview rowheight all you have to do is to multiply the rowcount of the child tableview by the rowheight and you will get exactly what you want.

提交回复
热议问题