gpt4 book ai didi

iphone - 标签栏覆盖了 UITableView 的最后一个单元格

转载 作者:行者123 更新时间:2023-12-03 18:27:50 26 4
gpt4 key购买 nike

我正在开发一个基于选项卡栏应用程序预设的应用程序。在其中一个选项卡中,我有一个显示大量数据的表格 View ,但是当我滚动到底部时,表格 View 中最后一个单元格的一半被选项卡栏覆盖。

谁有办法解决这个问题吗?

最佳答案

添加页脚空间对我有用:

//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;

关于iphone - 标签栏覆盖了 UITableView 的最后一个单元格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3463157/

26 4 0