mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-06-28 05:29:28 +00:00
fix table view section header and footer heights
This commit is contained in:
parent
142ff60dc7
commit
5f6566f385
1 changed files with 6 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue