UITableView cellforrowatindexpath not called

后端 未结 12 892
梦谈多话
梦谈多话 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:11

    I suggest you make sure that the size of the table requires rows to be displayed.

    Indeed, it could be a case for why the method cellForRowAtIndexPath is not called, however the numberOfRowsInSection should be called.

    In this case you'll not see anything in your table.

提交回复
热议问题