Can I use a single prototype cell in multiple tableViews?

后端 未结 5 1998

I am having two different tableviews in two different controller. But the cells, that I need to display in them, look identical. I have created a prototype cell in one tableView

5条回答
  •  轮回少年
    2021-02-05 06:59

    If you create a custom cell in XIB it should work just fine. However, I suspect the cell's identifier caused the problem. Try to change your cell's identifier for each table view controller.

    If it's not, you might want to post the source code

提交回复
热议问题