Tung Fam Tung Fam - 1 year ago 83
Objective-C Question

Add empty (blank) space under (in the end of) UITableView

My app has the

which have variable quantity of cells inside.
How can I add empty (blank) space with certain height under the
? Or in the very end of
So that after the very last cell there will be more blank space.

Hope my question is clear.
Thanks in advance

Answer Source

Make content inset on your table view:

let insets = UIEdgeInsets(top: 0, left: 0, bottom: 100, right: 0)
self.tableView.contentInset = insets
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download