I am making a slide menu using UITableView, and I have 2 options in the menu, and I want to put the button at the bottom, as in this image:

I am trying to do so to add tableFooterView.
UIView *footerView = [[UIView alloc] initWithFrame:CGRectMake(0, 500, 320, 70)];
footerView.backgroundColor = [UIColor blackColor];
self.tableView.tableFooterView = footerView;
However, the view appears immediately after the second cell, but I want it below.
Thanks for the help.
source
share