diff --git a/Blog/PostsViewController.m b/Blog/PostsViewController.m index 5bb1b50..b56b52b 100644 --- a/Blog/PostsViewController.m +++ b/Blog/PostsViewController.m @@ -392,8 +392,12 @@ static NSString *const StateRestorationBlogStatusTextKey = @"blogStatusText"; return [self postCollectionForSection:section].title; } -- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { - return [super tableView:tableView viewForHeaderInSection:section]; +- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { + return 40; +} + +- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { + return 0.01; } - (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section {