All the cells in my table are blank. I noticed that tableView:cellForRowAtIndexPath is not being called, which I think is causing this to happen. What calls this method?
All the cells in my table are blank. I noticed that tableView:cellForRowAtIndexPath is not
Share
The tableview calls its datasource methods.
In order for
cellForRowAtIndexPath:to be called, there needs to be rows in the tableview, which the methodnumberOfRowsInSectionis for.Hop on over to the Apple documentation on the
UITableViewDataSourceprotocol.