Extra space above grouped UITableView with header
| Originator: | jmoore | ||
| Number: | rdar://14169084 | Date Originated: | 16-Jun-2013 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | [redacted] |
| Classification: | UI | Reproducible: | yes |
Summary:
Grouped UITableView with a header has an extra 35pt space above the header
Steps to Reproduce:
1. create a grouped UITableView
2. add a tableViewHeader to tableView
Expected Results:
Should be no space above start of tableview.
Actual Results:
35 pt space above tableview header.
Regression:
unknown
Notes:
- (void)viewDidLoad
{
[super viewDidLoad];
self.title = @"Wat?";
self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 30)];
self.tableView.tableHeaderView.backgroundColor = [UIColor redColor];
[self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"Cell"];
}
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!