I did it, but it does not stick to the footer of the tableView, but to the bottom part of the last cell; if there is only one cell, then the “footer” is basically at the top of the tableView.
Hi @marcogt,
A tableview does not have a footer, each section has a header and footer.
If you want a footer for a tableview, you will have to add a Label at the end of the tableview.
Hi @marcogt,
You have two threads with the same related problem that you are trying to resolve.
It would be nice if Apple would do everything automagically, however then there would be no developers.
Specifically if you want a footer for your TableView, you will have to add an element in the storyboard that is physically just below the tableview. For simple text I had suggested a UILabel, with your other question @gdelarosa suggested you add a UIView that an host other elements like UIButtons and UILabels, etc.
There is NO API that creates a footer so you have to visually position it at the end of the tableView and write the code - It will be totally unrelated to the TableView, so if you want to hide it when you have an empty tableView, you have to do that yourself.