i\'m making a navigation based application for iphone.
one of my view controllers looks like this:
@interface NewComputerViewController : UIViewContr
Very important is the fact, that you need to make sure, that the source of your tableview reflects your changes too.
When you i.e. remove something, [tableView reloadData] won't do anything when you do not delete the item in your source first.
I had this issue in following situation: I had a tableview which showed some files in my document folder. Then I wanted to delete some files and I deleted them in the documents-folder, but they still appear in my list. I tried [tableView reloadData] and all other suggested answers in this post, but there were still the files listed. When I closed the tableview and opened it again, then the list was fine. Why? Well, because I filled an NSArray with all my files -> this is my "source" for the tableView. So when I delete a file, I do not only need to delete the file in the documents-folder, I need to remove it from the array too. -> So I made an NSMutableArray to have the ability to remove it. Then call [tableView reloadData] and the list is fine. ;-)