Combine static and prototype content in a table view

前端 未结 8 1041
遇见更好的自我
遇见更好的自我 2020-11-28 23:57

Is there a way to combine static tableview cells (static content) with dynamic tableview cells (prototype content) using storyboard?

8条回答
  •  萌比男神i
    2020-11-29 00:17

    Unfortunately, this is not possible since static table views must be in a UITableViewController and that only allows one tableview.

    What you need to do is make three more dynamic UITableviewCell's and load them individually for the first three rows where you want the static content.

    If you aren't sure how to do this, let me know and I can find some code.

提交回复
热议问题