pableiros pableiros - 1 year ago 70
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?

Answer Source

Simply remove the footer view:

tableView.tableFooterView = nil
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download