Chris Hannah Chris Hannah
  • Home
  • Essays
  • Micro
  • Photography
  • Archive

Slash Pages

  • /about
  • /contact
  • /colophon
  • /uses
  • /subscribe

Living Documents

  • Mac Setup - Work
8 Jun 2018

Hiding Extra Separators on a UITableView

When you’re using a UITableView, and there isn’t enough cells to fill up the visible table, it still fills the remaining space with separators. In just one line of code, you can change that to what is probably, the most expected result.

tableView.tableFooterView = UIView()

It’s really that simple.

Check out the full Playground code.

Chris Hannah Permalink
Reply via Email

← An IndieWeb Webring 🕸💍 →