1.wrapperView的位置和高度
2.contentInset的top
3.contenSize的高度
wrapperView高度的確定:
wrapperViewHeight = tableHeaderViewHeight + cellsHeight +tableFooterViewHeight +contentInsetBottom
售躁。但不會(huì)超高tableView的高度
wrapperView位置的確定:
在contentInsetTop下面夏哭。但是它的坐標(biāo)origin其實(shí)還是(0,0), 因?yàn)閠ableView的bounds.orignin變成了(0, - contentInsetTop)
。
contentInset的top:
contentInsetTop:當(dāng)tableView作為導(dǎo)航試圖下的第一個(gè)子view時(shí)夸盟,其contentInsetTop會(huì)在其基礎(chǔ)上加上64。
contenSize的高度確定:
contentSizeHeight = tableHeaderViewHeight + cellsHeight