self.tableView.reloadData() not working in Swift

前端 未结 10 1017
离开以前
离开以前 2020-12-23 09:12

I\'m attempting to learn Swift & the basics of iOS dev at the same time, so bear with me. I\'ve got a TableViewController that is

10条回答
  •  失恋的感觉
    2020-12-23 09:49

    In my case the table was updated correctly, but setNeedDisplay() was not called for the image so I mistakenly thought that the data was not reloaded.

提交回复
热议问题