Tung Fam Tung Fam - 5 months ago 14
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


Make content inset on your table view:

let insets = UIEdgeInsets(top: 0, left: 0, bottom: 100, right: 0)
self.tableView.contentInset = insets