文章目录
前言
tableView 一些常用的细节技巧:
tableView设置style:UITableViewStyleGrouped 时,非第一个section的间距失效
的解决方案- 修改 tableViewSectionHeader 字体及背景色
- 为UITableViewCell设置预估高度
- iOS 自定义UITableViewHeaderFooterView (替代titleForHeaderInSection)
https://blog.youkuaiyun.com/z929118967/article/details/105218766
I section相关
1.1 section的间距失效的解决方案
iOS tableView设置style:UITableViewStyleGrouped 时,非第一个section的间距失效
的解决方案: 必须全部实现FooterInSection
及FooterInSection
对应的四个代理方法才有效(四个必须同时实现)
具体的