1.tableview的內(nèi)容:content
content包括cell + headerview + footerview
2.tableview的contentSize、contentoffset、contentInset
- contentSize.height : 所有的內(nèi)容高度綜合
- contentoffset : 內(nèi)容距離frame矩形框偏移了多少
- contentInset : 在內(nèi)容周圍額外增加的空間,始終粘著內(nèi)容
關(guān)系如下圖所示,只舉例y軸方向,x軸方向同理

圖片.png