PureColorView是将颜色转化为纯色View的类,网上可以搜到
10、sectionHeader不吸顶
let tv = UITableView(frame: CGRect.zero, style: .grouped)
11、使用.groupted后,TableView底部有20px多余空白
tv.tableFooterView = UIView(frame: CGRect(x: 0, y: 0, width: 1, height: CGFloat.leastNormalMagnitude))
12、ios/238190.html">ios 8系统上,点击cell push一个vc,再pop回来,部分cell高度会乱掉
需要强制实现下估算高度
传送门
func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat {
return self.tableView(tableView, heightForRowAt: indexPath)
}
总结
以上就是这篇文章的全部内容了,希望本文的内容对各位iOS开发者们能带来一定的帮助,如果有疑问大家可以留言交流,谢谢大家对ASPKU的支持
注:相关教程知识阅读请移步到IOS开发频道。










