Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

VolceOntra

macrumors 6502
Original poster
Apr 25, 2007
342
124
So I have a pretty basic tableviewcontroller with a prototype cell containing a text label.

I'm accessing the label via tag so it shouldn't be an allocation issue, but I might be wrong.

Cell for row seems to be firing when I called [self.tableview reloaddata] and the table data actually DOES reload.

The only time it stops reloading is when I navigate my navigation view controller and go to a different tableview section (or even go back to the same section)...

...which that has me at a loss.

I did a NSLog on the tableview, and it's the same tableview....so I'm confused....

Any help would be great...
 
I should also add that when the cell is dequeued by scrolling, the data does update....
 
...
The only time it stops reloading is when I navigate my navigation view controller and go to a different tableview section (or even go back to the same section)...

...

Not sure I understand. if you Navigate away from the tableview then it should stop updating as it's not visible.

Do you mean it's not updating after it becomes visible again?
 
Not sure I understand. if you Navigate away from the tableview then it should stop updating as it's not visible.

Do you mean it's not updating after it becomes visible again?

Yes, after it becomes visible again, the table shows the correct data, but when reloaddata is attempted it doesn't update the data...
 
Im priti new myself but wouldnt
Code:
- (void)viewWillAppear:(BOOL)animated
instead of
Code:
 - (void)viewDidLoad
fix this sort of problem?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.