首页 > 其他 > 详细

UITableView小知识点总结

时间:2015-10-16 10:04:53      阅读:142      评论:0      收藏:0      [点我收藏+]

 

 

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

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

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

 

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

self.tableView.tableFooterView = [UIView new];

UITableView小知识点总结

原文:http://www.cnblogs.com/bugismyalllife/p/4884283.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!