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

grempel

macrumors newbie
Original poster
I am using a subclass of UIViewController to manage a TableView page. When I get some XML data I want to force the table to repaint. I call reloadData on the TableView, but get not response. If I click on the table it repaints. What am I doing wrong? numberOfRowsInSection etc are not being called by the processing of reloadData.

Thanks,
Gerry
 
Are you calling reloadData from the main thread? That's the only one allowed to update the UI.
 
Are you calling reloadData from the main thread? That's the only one allowed to update the UI.

No, I'm not. How do I make the call on the main thread from my thread that has responded to the update?

Thanks,
Gerry
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.