什么是TableView的内容content?
- cell
- tableViewHeaderView & tableViewFooterView
- sectionHeader & sectionFooter
Content
什么是内容的高度contentSizeHeight?
- (cell + tableViewHeaderView & tableViewFooterView + sectionHeader & sectionFooter ).height
什么是内容的偏移量contentOffset?
- (frame的顶部 - content的顶部) = 内容的偏移量
contentOffset(一)
contentOffset(二)
什么是内边距contentInset?
- 内容周围的间距
- 内容周围到屏幕边框的距离
contentInset
contentInset
添加子控件,设置frame.frame指的是?
- frame :以父控件内容左上角为坐标原点
- frame.size.height : 矩形框(屏幕框)的高度
Frame & Bounds
- frame : 以父控件内容左上角为坐标原点
- bounds : 以自己内容的左上角为坐标原点