How to reload a table view in a view controller in iphone?

Posted by Warrior on Stack Overflow See other posts from Stack Overflow or by Warrior
Published on 2010-04-08T10:38:02Z Indexed on 2010/04/08 10:43 UTC
Read the original article Hit count: 357

Filed under:
|
|
|

I am new to iphone development.I have created a table view in a view controller. I want to reload the table view so that i can display the contents which are parsed previously in delegates. More over reloadData does only reload the cells. It doesn't take care of actually updating the underlying datasource.

E.g. if i read data from an array in tableView:cellForRowAtIndexPath:, I have to change the array values befor calling reloadData.

How can i achieve this. Please help me out.Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiview