在不使用故事板的情况下,我们可以简单地将其UIView拖到画布上,将其布局,然后将其设置在tableView:viewForHeaderInSection或tableView:viewForFooterInSection委托方法中.
UIView
tableView:viewForHeaderInSection
tableView:viewForFooterInSection
我们如何使用StoryBoard完成此操作,我们无法将UIView拖到画布上
uitableview ios5 uistoryboard
ios5 ×1
uistoryboard ×1
uitableview ×1