UITableView cellforrowatindexpath not called

后端 未结 12 769
梦谈多话
梦谈多话 2021-01-05 07:24

I am pretty new to Iphone development . so please bear me if I ask some very simple questions.

In my application I have multiple views(i.e. .xib files). On clicking

12条回答
  •  臣服心动
    2021-01-05 08:15

    Are you sure you set your class as the dataSource on the table? To do this, control+click on the table view in Interface Builder and drag it onto the File's Owner under Placeholders. Then select dataSource (and probably delegate too, depending on your controller-view setup).

提交回复
热议问题