Bug Fix: Room members: Swipe mode is not available on iphone 5c iOS 8 #70

This commit is contained in:
giomfo 2016-02-05 10:44:15 +01:00
parent 3b1dadcb5a
commit 87ad785eda
2 changed files with 5 additions and 5 deletions

View file

@ -108,11 +108,6 @@
#pragma mark - UITableView delegate
- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath
{
return [[NSMutableArray alloc] init];
}
- (void)customizeContactCell:(ContactTableViewCell*)contactTableViewCell atIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.section == participantsSection)

View file

@ -607,6 +607,11 @@
return cell;
}
- (void)tableView:(UITableView*)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath*)indexPath
{
// iOS8 requires this method to enable editing (see editActionsForRowAtIndexPath).
}
#pragma mark - UITableView delegate
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section