New Chat screens: implement participants selections.

This commit is contained in:
giomfo
2015-08-14 16:40:03 +02:00
parent f260ad9d5f
commit 44fc29a4cb
10 changed files with 331 additions and 26 deletions
@@ -70,6 +70,11 @@
{
[self addMatrixSession:mxSession];
}
// Add a little white space below the navigation bar
UIEdgeInsets contentInset = self.tableView.contentInset;
contentInset.top += 15;
self.tableView.contentInset = contentInset;
}
- (void)didReceiveMemoryWarning
@@ -415,6 +420,17 @@
return 30;
}
- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section
{
if([view isKindOfClass:[UITableViewHeaderFooterView class]])
{
UITableViewHeaderFooterView *tableViewHeaderFooterView = (UITableViewHeaderFooterView *) view;
tableViewHeaderFooterView.textLabel.text = [tableViewHeaderFooterView.textLabel.text capitalizedString];
tableViewHeaderFooterView.textLabel.font = [UIFont boldSystemFontOfSize:17];
tableViewHeaderFooterView.textLabel.textColor = [UIColor blackColor];
}
}
//- (CGFloat) tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
//{
// return 1;