tableview的属性,使用plain style 的时候,如果你设置了多个section,那么headerview会在卡在顶部,等待第二个view上来。 把属性设置为grouped 那么就不会卡在顶部了。。就这么简单。