My UITableView is showing some REALLY weird behaviour.
Here is a picture of what is going on:
Im testing populating the UITableView by adding some information. And every single time for each cell i updated the event to be Goal and the player name to be tet. Yes every time even for the last 3 cells that you can see is showing some weird behaviour.
after the "10-0" score i decided for the other team to score with the same name tet. First time it shows the image on both sides AND the name is not shown. Second time it shows correctly and third time as you can see it shows wrong again.
BUT If i navigate to another view and then go back then everything looks correct as it should.
Here is another example:
In this example i decide to let each side score every second time with the name "twfr". As you can see it goes wrong in the 5-2 score cell.
I have NO idea to what could be causing this. I tried using this code
[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath, nil] withRowAnimation:UITableViewRowAnimationNone];
In
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
It did work, but you could clearly see when it goes wrong but it quickly changes that and shows wrong ALSO it laggs really much when scrolling. So please guys what could possibly cause this problem?
0 comments:
Post a Comment