pableiros pableiros - 5 months ago 32
iOS Question

How to add extra line separators on UITableView

How can I add again the extra line separators on a


For example, I removed the extra line separators like this:

tableView.tableFooterView = UIView()

to show an
saying the list is empty or an error has ocurred.

But when I retrieve items to the
I want to show the extra lines again.

Is any way to do that?


Simply remove the footer view:

tableView.tableFooterView = nil