爱程序网

UITableView小知识点总结

来源: 阅读:

 

1.UITableView去除空的cell,多余不用的

在viewdidload方法里加上这一句即可

self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];

 

self.tableView.tableFooterView = [[UIView alloc] init];

self.tableView.tableFooterView = [UIView new];

关于爱程序网 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助