美文网首页
设置tableView

设置tableView

作者: Arang | 来源:发表于2017-01-18 12:51 被阅读0次

- 碰到的需求中,需要设置静态cell,设成group样式的话,没法设置顶部的导航栏。因此需要改成plain样式,利用代码添加footerView 的间距

- tableView进入第二级返回后,取消选中 --Objective-c

- 在TableViewController中设置tableView的格式,需要继承。

- 设置UITableView的headerView跟随cell一起滚动

1. 适用于多个section的情况,设置偏移量,

2. 设置tableView的style为UITableViewGrouped。 不过这样有footerㅠㅠㅠㅠ 

相关文章

网友评论

      本文标题:设置tableView

      本文链接:https://www.haomeiwen.com/subject/ssbbmttx.html