uitableview style类型为Grouped时,去掉上面空白的方法

self.table.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, self.table.bounds.size.width, 0.01f)];

原文地址:https://www.cnblogs.com/codemakerhj/p/4673708.html