Explorar o código

unable to dequeue a cell with identifier CellMain - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

Marino Faggiana %!s(int64=6) %!d(string=hai) anos
pai
achega
218f0f48ac
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      iOSClient/Transfers/CCTransfers.m

+ 1 - 0
iOSClient/Transfers/CCTransfers.m

@@ -68,6 +68,7 @@
     [super viewDidLoad];
     
     // Custom Cell
+    [self.tableView registerNib:[UINib nibWithNibName:@"CCCellMain" bundle:nil] forCellReuseIdentifier:@"CellMain"];
     [self.tableView registerNib:[UINib nibWithNibName:@"CCCellMainTransfer" bundle:nil] forCellReuseIdentifier:@"CellMainTransfer"];
     
     self.tableView.delegate = self;