UITableView cellforrowatindexpath not called

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

    I was also having that problem on UITableView, I also set the data source and delegate to the table view but my cellForRowAtIndexPath method was not called.

    Solution:

    • my network blocked my method (by using firewall). I asked my network admin, and I was given full access to the network, and then my cellForRowIndexPath method was called.

    • when my response comes from a web service, due to network block response was black so, cellForRowIndexPath method was not called.

提交回复
热议问题