reloadData not working - suspect cell's reuseIdentifier

Posted by retailevolved on Stack Overflow See other posts from Stack Overflow or by retailevolved
Published on 2010-03-24T04:55:22Z Indexed on 2010/03/24 5:13 UTC
Read the original article Hit count: 225

I have a view controller that gets presented modally and changes some data that effects the data in a uitableview in the modal's parent view controller (a table view).

I call the tableview's reloadData method when the parent view reappears. I have confirmed that this code gets hit with a break point. My trouble is, reloadData isn't working. Here's the kicker - if I don't use reuseIdentifiers in the - (UITableViewCell *)cellForRowAtIndexPath:(NSIndexPath *)indexPath method, the data reloads correctly. It looks like the reuseIdentifier is to blame.

I really want to continue to use the reuseIdentifier for my cells - how do I make this work?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview