From 7d4130a7bab8a1450c0a5a8ce6e11846d62797d5 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Thu, 10 Dec 2015 22:42:35 +0100 Subject: [PATCH] Fix header height for contact list --- Classes/ContactsListTableView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ContactsListTableView.m b/Classes/ContactsListTableView.m index 13ec6fe00..17efd91a9 100644 --- a/Classes/ContactsListTableView.m +++ b/Classes/ContactsListTableView.m @@ -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];