我使用的是UITableView
做了滑动菜单,我必须在菜单上两个选项,我想提出一个底部按钮这样的形象在:页脚添加到UITableView的底部
我试着做那样的加tableFooterView
。
UIView *footerView = [[UIView alloc] initWithFrame:CGRectMake(0, 500, 320, 70)];
footerView.backgroundColor = [UIColor blackColor];
self.tableView.tableFooterView = footerView;
但是,视图出现在第二个单元格后面,但我希望它在底部。
感谢您的帮助。
你有两个以上的细胞吗? – rdelmar 2013-02-18 00:45:51
不,我只有2个单元格 – Greg 2013-02-18 00:54:56
那么,这就是为什么它不在窗口的底部 - 它应该在表格视图的底部。 – rdelmar 2013-02-18 01:10:59