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 dc39752282
commit cb5b2e1d40
5 changed files with 17 additions and 3 deletions
@@ -169,6 +169,11 @@
cell = deviceCell;
}
else
{
// Return a fake cell to prevent app from crashing.
cell = [[UITableViewCell alloc] init];
}
return cell;
}