i have a UITableView
within a UIViewController
that shows a set of data. The funny thing happening here is that everytime cellForRowAtIndexPath:
calls dequeueReusableCellWithIdentifier:
it returns nil so the table's content is being reset all the time. Other table views in my app work just fine, i must be missing something here.
Does anyone have any clue why this could be happening?
Thanks in advance
PS: I use the recommended init method for the cell:
- (id)initWithStyle:(UITableViewCellStyle)style reuseId开发者_运维知识库entifier:(NSString *)reuseIdentifier
Are you passing the same cell reuse identifier to dequeReusableCellWithIdentifier: as you are when you construct the cell?
精彩评论