Fix header height for contact list

This commit is contained in:
Guillaume BIENKOWSKI 2015-12-10 22:42:35 +01:00
parent f0a28cb2d8
commit 7d4130a7ba

View file

@ -192,7 +192,7 @@ static void sync_address_book(ABAddressBookRef addressBook, CFDictionaryRef info
}
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
CGRect frame = CGRectMake(0, 0, tableView.frame.size.width, 44);
CGRect frame = CGRectMake(0, 0, tableView.frame.size.width, tableView.sectionHeaderHeight);
UIView *tempView = [[UIView alloc] initWithFrame:frame];
tempView.backgroundColor = [UIColor whiteColor];