I was looking at the answers in this question here -
Eliminate extra separators below UITableView
But I cannot understand why this works -
self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
A footerView basically is at the end of the Table Contents if I'm correct. I also wanted a good idea of just why the separators are shown. Is it a default thing that iOS has when there is no cellForRowAtIndexPath
? So it creates these default cells which are then overridden by the FooterView being present?