views:

28

answers:

2

I have a UITableView subclass which initially holds nothing, however by pressing a button I want to be able to add a string to the data and have it show up in the view. How can I do this? I have been trying to simply modify listdata, but this only seems to work once as after that the Table view does not reload, even though I can see more things are being added to list data. Am I missing something? Any help would be greatly appreciated!

A: 

See Inserting and Deleting Rows and Sections.

Joshua Nozzi
A: 

When you have added it to the datasource, call [yourTableViewObject reloadData];.

jrtc27