Fix - tableView cellForRowAtIndexPath:

return a fake cell to prevent app from crashing.
This commit is contained in:
Giom Foret
2017-10-23 15:48:13 +02:00
parent 5d586b972f
commit bf3a000eef
5 changed files with 17 additions and 3 deletions
+2 -1
View File
@@ -223,7 +223,8 @@
}
}
return nil;
// Return a fake cell to prevent app from crashing.
return [[UITableViewCell alloc] init];
}
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath