Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tab bar covers UITableView's last cell

I'm developing an application based on the Tab Bar application preset. In one of the tabs I have a table view showing a lot of data, but half the last cell in the table view is covered by the tab bar when I've scrolled to the bottom.

Anyone has a solution to this?

like image 552
Accatyyc Avatar asked Aug 11 '10 21:08

Accatyyc


1 Answers

Adding a footer space worked for me:

//this prevent the tabbar to cover the tableview space
UIView *footer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 1, 90)];
footer.backgroundColor = [UIColor clearColor];
myTableView.tableFooterView = footer;
like image 94
JavierGiovannini Avatar answered Sep 21 '22 04:09

JavierGiovannini